aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAiden Woodruff <woodra@rpi.edu>2025-10-22 10:38:19 -0400
committerAiden Woodruff <woodra@rpi.edu>2025-10-22 10:38:19 -0400
commitff675a7e2b25ed61e95e56c35d70874dc3e63a61 (patch)
tree6de570a2fa15952797ebe11709833ed2515988d9 /src/CMakeLists.txt
parentd4ef0cc41314dfa2bc6fe68970aebadb8681101e (diff)
downloadtipping-points-ff675a7e2b25ed61e95e56c35d70874dc3e63a61.tar.gz
tipping-points-ff675a7e2b25ed61e95e56c35d70874dc3e63a61.tar.bz2
tipping-points-ff675a7e2b25ed61e95e56c35d70874dc3e63a61.zip
add SNAP library
- cmake/GetSNAP.cmake: add module that uses ExternalProject to download and build (with make) the SNAP library. - CMakeLists.txt: simple cmake file to use the GetSNAP module. - src/main.cc: simples possible main file. - src/CMakeLists.txt: simple cmake file with main executable and linking. Signed-off-by: Aiden Woodruff <woodra@rpi.edu>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..c66a468
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,2 @@
1add_executable(main main.cc)
2target_link_libraries(main PRIVATE SNAP::SNAP)