File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,7 +174,8 @@ if (BOOST_BEAST2_MRDOCS_BUILD)
174174 file (WRITE "${CMAKE_CURRENT_BINARY_DIR} /mrdocs.cpp" "#include <boost/beast2.hpp>\n " )
175175 add_library (boost_beast2_mrdocs "${CMAKE_CURRENT_BINARY_DIR} /mrdocs.cpp" )
176176 boost_beast2_setup_properties (boost_beast2_mrdocs )
177- boost_beast2_setup_properties (boost_beast2_mrdocs PUBLIC BOOST_BEAST2_MRDOCS )
177+ target_compile_definitions (boost_beast2_mrdocs PUBLIC BOOST_BEAST2_MRDOCS )
178+ set_target_properties (boost_beast2_mrdocs PROPERTIES EXPORT_COMPILE_COMMANDS ON )
178179 return ()
179180endif ()
180181
Original file line number Diff line number Diff line change @@ -33,4 +33,4 @@ use-system-stdlib: true
3333warn-unnamed-param : true
3434warn-if-undoc-enum-val : false
3535
36- cmake : ' -DCMAKE_CXX_STANDARD=20 -DBOOST_BEAST2_MRDOCS_BUILD=ON -DBOOST_BEAST2_BUILD_TESTS=OFF -DBOOST_BEAST2_BUILD_EXAMPLES =OFF'
36+ cmake : ' -DCMAKE_CXX_STANDARD=20 -DBOOST_BEAST2_MRDOCS_BUILD=ON -DCMAKE_EXPORT_COMPILE_COMMANDS =OFF'
You can’t perform that action at this time.
0 commit comments