File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -165,9 +165,10 @@ 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 ()
170- endif ()
171+ endif ()
171172
172173add_library (boost_http_proto include /boost/http_proto.hpp build /Jamfile ${BOOST_HTTP_PROTO_HEADERS} ${BOOST_HTTP_PROTO_SOURCES} )
173174add_library (Boost::http_proto ALIAS boost_http_proto )
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