aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJulien Dessaux2019-02-14 20:51:41 +0100
committerJulien Dessaux2019-02-14 21:07:27 +0100
commita3f34674c6317930362c99f0fc40d835234843e5 (patch)
tree6c4c3afa605acf567b6b5997db4a3277738c9c68 /common
parentSwitched from standard makefile to cmake (diff)
downloadbastion-a3f34674c6317930362c99f0fc40d835234843e5.tar.gz
bastion-a3f34674c6317930362c99f0fc40d835234843e5.tar.bz2
bastion-a3f34674c6317930362c99f0fc40d835234843e5.zip
Moved code around
Diffstat (limited to '')
-rw-r--r--common/CMakeLists.txt3
-rw-r--r--common/mysql.c (renamed from src/mysql.c)0
-rw-r--r--common/mysql.h (renamed from src/mysql.h)0
3 files changed, 3 insertions, 0 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
new file mode 100644
index 0000000..8636758
--- /dev/null
+++ b/common/CMakeLists.txt
@@ -0,0 +1,3 @@
+file(GLOB_RECURSE SOURCES *.c)
+
+ADD_LIBRARY(common STATIC ${SOURCES})
diff --git a/src/mysql.c b/common/mysql.c
index 0931116..0931116 100644
--- a/src/mysql.c
+++ b/common/mysql.c
diff --git a/src/mysql.h b/common/mysql.h
index 8c6040f..8c6040f 100644
--- a/src/mysql.h
+++ b/common/mysql.h