diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2009-04-11 00:31:48 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2009-04-11 00:31:48 +0200 |
commit | 75f1e6f6b12f9fe461e4afa5bf3c998d21d48394 (patch) | |
tree | 77420f3134189dc5bce5b0d3fe77826b66f702aa /utils | |
parent | 10fd2098416c78958a199f31480bd363eaa76212 (diff) | |
download | eurephia-75f1e6f6b12f9fe461e4afa5bf3c998d21d48394.tar.gz eurephia-75f1e6f6b12f9fe461e4afa5bf3c998d21d48394.tar.xz eurephia-75f1e6f6b12f9fe461e4afa5bf3c998d21d48394.zip |
Rewritten CMake rules to build common/ as static library
This static library is later on linked in. This is to avoid recompiling
the same source files several times during a complete eurephia
compilation.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/CMakeLists.txt | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 949c376..9301678 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -5,14 +5,6 @@ IF(EUREPHIADM) SET(e_init_SRC eurephia_init.c benchmark.c - ../common/eurephia_values.c - ../common/eurephia_log.c - ../common/eurephia_getsym.c - ../common/eurephia_xml.c - ../common/passwd.c - ../common/sha512.c - ../common/randstr.c - ../database/eurephiadb.c ../eurephiadm/get_console_input.c ../eurephiadm/argparser.c ../eurephiadm/client_context.c @@ -25,7 +17,7 @@ IF(EUREPHIADM) INCLUDE_DIRECTORIES(../common ../database ../eurephiadm) ADD_EXECUTABLE(eurephia_init ${e_init_SRC}) - TARGET_LINK_LIBRARIES(eurephia_init dl crypto ${EXTRA_LIBS}) + TARGET_LINK_LIBRARIES(eurephia_init dl crypto common ${EXTRA_LIBS}) SET(saltdecode_SRC saltdecode.c |