diff options
author | Julien Dessaux | 2019-02-14 20:48:20 +0100 |
---|---|---|
committer | Julien Dessaux | 2019-02-14 20:48:20 +0100 |
commit | 9399ff045d40a72c8ec90db3d07d1877ee2b3be3 (patch) | |
tree | df1a40330acea568c9de2b3daf1166a30fad8dee /src | |
parent | Implemented session id management and session logs in database (diff) | |
download | bastion-9399ff045d40a72c8ec90db3d07d1877ee2b3be3.tar.gz bastion-9399ff045d40a72c8ec90db3d07d1877ee2b3be3.tar.bz2 bastion-9399ff045d40a72c8ec90db3d07d1877ee2b3be3.zip |
Switched from standard makefile to cmake
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 9 |
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) |