diff options
| author | Aiden Woodruff <woodra@rpi.edu> | 2025-10-22 10:38:19 -0400 |
|---|---|---|
| committer | Aiden Woodruff <woodra@rpi.edu> | 2025-10-22 10:38:19 -0400 |
| commit | ff675a7e2b25ed61e95e56c35d70874dc3e63a61 (patch) | |
| tree | 6de570a2fa15952797ebe11709833ed2515988d9 /src | |
| parent | d4ef0cc41314dfa2bc6fe68970aebadb8681101e (diff) | |
| download | tipping-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')
| -rw-r--r-- | src/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/main.cc | 6 |
2 files changed, 8 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 @@ | |||
| 1 | add_executable(main main.cc) | ||
| 2 | target_link_libraries(main PRIVATE SNAP::SNAP) | ||
diff --git a/src/main.cc b/src/main.cc new file mode 100644 index 0000000..6e80c53 --- /dev/null +++ b/src/main.cc | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #include <iostream> | ||
| 2 | |||
| 3 | int main(int argc, char* argv[]) { | ||
| 4 | std::cout << "Hello world." << std::endl; | ||
| 5 | return 0; | ||
| 6 | } | ||
