aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..f885850
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories("${bastion_SOURCE_DIR}/termrec/libtty/")
+
+file(GLOB_RECURSE SOURCES *.c)
+
+add_executable(bastion ${SOURCES})
+add_library(libtty.a STATIC IMPORTED)
+set_property(TARGET libtty.a PROPERTY IMPORTED_LOCATION "${bastion_SOURCE_DIR}/libtty.a")
+target_link_libraries(bastion libtty.a)
+target_link_libraries(bastion bz2 curl lzma mysqlclient pthread ssh z)