File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,8 @@ if (BOOST_HTTP_PROTO_MRDOCS_BUILD)
165165 file (WRITE "${CMAKE_CURRENT_BINARY_DIR} /mrdocs.cpp" "#include <boost/http_proto.hpp>\n " )
166166 add_library (boost_http_proto_mrdocs "${CMAKE_CURRENT_BINARY_DIR} /mrdocs.cpp" )
167167 boost_http_proto_setup_properties(boost_http_proto_mrdocs)
168- boost_http_proto_setup_properties(boost_http_proto_mrdocs PUBLIC BOOST_HTTP_PROTO_MRDOCS)
168+ target_compile_definitions (boost_http_proto_mrdocs PUBLIC BOOST_HTTP_PROTO_MRDOCS)
169+ set_target_properties (boost_http_proto_mrdocs PROPERTIES EXPORT_COMPILE_COMMANDS ON )
169170 return ()
170171endif ()
171172
Original file line number Diff line number Diff line change @@ -40,4 +40,4 @@ use-system-stdlib: true
4040warn-unnamed-param : true
4141warn-if-undoc-enum-val : false
4242
43- cmake : ' -DCMAKE_CXX_STANDARD=20 -DBOOST_HTTP_PROTO_MRDOCS_BUILD=ON -DBOOST_HTTP_PROTO_BUILD_TESTS=OFF -DBOOST_HTTP_PROTO_BUILD_EXAMPLES =OFF'
43+ cmake : ' -DCMAKE_CXX_STANDARD=20 -DBOOST_HTTP_PROTO_MRDOCS_BUILD=ON -DCMAKE_EXPORT_COMPILE_COMMANDS =OFF'
You can’t perform that action at this time.
0 commit comments