summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2009-09-02 11:26:30 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2009-09-02 11:26:30 +0200
commita79453edb11cc63c857ee1dc0520691b10af2bdb (patch)
tree918070e906289489c970a801848a66c85fee5ad7 /common
parentf5f6d94b8fe90e8a02594db74dbec2449a7fa5e3 (diff)
downloadeurephia-a79453edb11cc63c857ee1dc0520691b10af2bdb.tar.gz
eurephia-a79453edb11cc63c857ee1dc0520691b10af2bdb.tar.xz
eurephia-a79453edb11cc63c857ee1dc0520691b10af2bdb.zip
Improved comments for common/CMakeLists.txt
Diffstat (limited to 'common')
-rw-r--r--common/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
index e08e3e6..14eafee 100644
--- a/common/CMakeLists.txt
+++ b/common/CMakeLists.txt
@@ -1,8 +1,15 @@
PROJECT(eurephiaCOMMON C)
cmake_minimum_required(VERSION 2.6)
+# Compiler settigns
INCLUDE_DIRECTORIES(. ../database)
+#
+# Create a static library
+#
+# Will contain all common functions used by most of the
+# eurephia modules
+#
ADD_LIBRARY( eurephiacommon STATIC
certinfo.c
eurephia_getsym.c
@@ -15,5 +22,7 @@ ADD_LIBRARY( eurephiacommon STATIC
../database/eurephiadb.c
../database/eurephiadb_mapping.c
)
+
+# Output name will be libeurephiacommon.a
SET_TARGET_PROPERTIES( eurephiacommon PROPERTIES COMPILE_FLAGS -fPIC)