diff options
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 19 |
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 @@ | |||
| 1 | add_executable(one | 1 | add_library(tipping-points |
| 2 | one.cc | ||
| 3 | NameGame.cc | 2 | NameGame.cc |
| 4 | ) | 3 | ) |
| 5 | target_link_libraries(one PRIVATE SNAP::SNAP) | 4 | target_link_libraries(tipping-points PUBLIC SNAP::SNAP) |
| 6 | add_executable(many | 5 | if(TIPPINGPOINTS_MEMLIST) |
| 7 | many.cc | 6 | target_compile_definitions(tipping-points PUBLIC TP_MEMLIST) |
| 8 | NameGame.cc | 7 | endif() |
| 9 | ) | 8 | add_executable(one one.cc) |
| 10 | target_link_libraries(many PRIVATE SNAP::SNAP) | 9 | target_link_libraries(one PRIVATE tipping-points) |
| 10 | add_executable(many many.cc) | ||
| 11 | target_link_libraries(many PRIVATE tipping-points) | ||
| 12 | add_executable(many-async many-async.cc) | ||
| 13 | target_link_libraries(many-async PRIVATE tipping-points) | ||
