aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7e0e575..f681e54 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,10 +1,13 @@
1add_executable(one 1add_library(tipping-points
2 one.cc
3 NameGame.cc 2 NameGame.cc
4) 3)
5target_link_libraries(one PRIVATE SNAP::SNAP) 4target_link_libraries(tipping-points PUBLIC SNAP::SNAP)
6add_executable(many 5if(TIPPINGPOINTS_MEMLIST)
7 many.cc 6 target_compile_definitions(tipping-points PUBLIC TP_MEMLIST)
8 NameGame.cc 7endif()
9) 8add_executable(one one.cc)
10target_link_libraries(many PRIVATE SNAP::SNAP) 9target_link_libraries(one PRIVATE tipping-points)
10add_executable(many many.cc)
11target_link_libraries(many PRIVATE tipping-points)
12add_executable(many-async many-async.cc)
13target_link_libraries(many-async PRIVATE tipping-points)