Ticket #12861: CMakeLists.txt
File CMakeLists.txt, 301 bytes (added by , 6 years ago) |
---|
Line | |
---|---|
1 | |
2 | project(test_tree) |
3 | |
4 | set(CMAKE_CXX_FLAGS "-std=c++11 -O0 -ggdb") |
5 | #set(CMAKE_CXX_FLAGS "-std=c++11 -O3") |
6 | |
7 | |
8 | find_package(Boost COMPONENTS serialization REQUIRED) |
9 | |
10 | include_directories(${Boost_INCLUDE_DIR}) |
11 | |
12 | add_executable(test_tree test_tree.cpp) |
13 | |
14 | target_link_libraries(test_tree |
15 | ${Boost_LIBRARIES}) |
16 | |
17 |