summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2021-07-17 22:03:13 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2021-07-19 20:22:33 +0200
commitf36d74d2e599d3b8bbee9e485c0c262fb068baa5 (patch)
treee8a0a48babe73f41312e647dd900a507d0599637 /src/CMakeLists.txt
parent6c58f1e095f7dbe1e7e1654c1807a76276a2f3f2 (diff)
Test tool with sample usage of the library
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0fd7125..2436914 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -19,3 +19,20 @@ add_library(erebos
time
uuid
)
+
+add_executable(erebos-bin
+ main
+)
+
+set_target_properties(erebos-bin
+ PROPERTIES OUTPUT_NAME erebos
+)
+
+target_link_libraries(erebos-bin
+ erebos
+ stdc++fs
+ Threads::Threads
+ ${ZLIB_LIBRARIES}
+ ${OPENSSL_LIBRARIES}
+ ${B2_LIBRARY}
+ )