Changeset View
Changeset View
Standalone View
Standalone View
tests/manual/CMakeLists.txt
1 | set(CMAKE_BUILD_TYPE Debug) | 1 | set(CMAKE_BUILD_TYPE Debug) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | add_executable(test_c test.c) | 3 | add_executable(test_c test.c) | ||
4 | add_executable(test_cpp test.cpp) | 4 | add_executable(test_cpp test.cpp) | ||
5 | set_target_properties(test_cpp PROPERTIES | ||||
6 | INCLUDE_DIRECTORIES ${CMAKE_CURRENT_BINARY_DIR}/../../src/ | ||||
7 | ) | ||||
8 | | ||||
5 | add_executable(threaded threaded.cpp) | 9 | add_executable(threaded threaded.cpp) | ||
6 | target_link_libraries(threaded ${CMAKE_THREAD_LIBS_INIT}) | 10 | target_link_libraries(threaded ${CMAKE_THREAD_LIBS_INIT}) | ||
7 | 11 | | |||
8 | add_executable(callgraph callgraph.cpp) | 12 | add_executable(callgraph callgraph.cpp) | ||
9 | 13 | | |||
10 | add_library(testlib SHARED lib.cpp) | 14 | add_library(testlib SHARED lib.cpp) | ||
11 | add_executable(test_lib test_lib.cpp) | 15 | add_executable(test_lib test_lib.cpp) | ||
12 | target_link_libraries(test_lib testlib) | 16 | target_link_libraries(test_lib testlib) | ||
Show All 16 Lines |