際際滷
Submit Search
Boost CMake
0 likes
58 views
Javad Sabbagh
How to add boost libraries to a C++ project managed by CMake.
Read less
Read more
1 of 1
Download now
Download to read offline
More Related Content
Boost CMake
1.
悋 擧惠悋惡悽悋 悋慍惆Boost惡CMake 悋
惆惘.CMakeLists txt:悋惆 悋惷悋 惘悋 慍惘 惡擧 set(Boost_USE_STATIC_LIBS OFF) set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) find_package(Boost 1.69.0 COMPONENTS asio filesystem regex) if(Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS}) add_executable(progname file1.cxx file2.cxx) target_link_libraries(progname ${Boost_LIBRARIES}) endif() ≒惠惴悋惠boost惓悋 愀悋惡 惘悋on悋off.擧惆 ≒悋慍 惘惆 悋擧惠悋惡悽悋boost.悋惆 悋惷悋 惓悋 愀悋惡 惘悋
Download