diff options
author | Christian Linke <christian.linke@bmw.de> | 2013-06-26 17:14:08 +0200 |
---|---|---|
committer | Christian Linke <christian.linke@bmw.de> | 2013-06-26 17:46:46 +0200 |
commit | 6a5f434ff19963d0b37d89c06c0dab9249f34fd9 (patch) | |
tree | 92011bdac35c3ce51039b0d8d98e12d637037a66 /AudioManagerDaemon/CMakeLists.txt | |
parent | c0fd43259ab0e269dd0918231c162d19d2dea593 (diff) | |
download | audiomanager-6a5f434ff19963d0b37d89c06c0dab9249f34fd9.tar.gz |
* make Telnetserver work with maphandler
* small changes to get cmake script cleaner
* clean up includes of main.cpp
* make DatabaseMaphandler structs private
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/CMakeLists.txt')
-rw-r--r-- | AudioManagerDaemon/CMakeLists.txt | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/AudioManagerDaemon/CMakeLists.txt b/AudioManagerDaemon/CMakeLists.txt index 0eb9100..11019fe 100644 --- a/AudioManagerDaemon/CMakeLists.txt +++ b/AudioManagerDaemon/CMakeLists.txt @@ -50,18 +50,29 @@ SET(AUDIOMAN_SRCS_CXX src/CAmCommandSender.cpp src/CAmControlReceiver.cpp src/CAmControlSender.cpp - src/CAmDatabaseHandler.cpp - src/CAmMapHandler.cpp src/CAmDatabaseObserver.cpp src/CAmRoutingReceiver.cpp src/CAmRoutingSender.cpp - src/CAmSocketHandler.cpp - src/CAmTelnetServer.cpp src/CAmRouter.cpp + src/CAmSocketHandler.cpp src/CAmDltWrapper.cpp - src/CAmTelnetMenuHelper.cpp - src/CAmWatchdog.cpp ) + + +IF(WITH_TELNET) + SET (AUDIOMAN_SRCS_CXX + ${AUDIOMAN_SRCS_CXX} + src/CAmTelnetServer.cpp + src/CAmTelnetMenuHelper.cpp + ) +ENDIF(WITH_TELNET) + +IF(WITH_SYSTEMD_WATCHDOG) + SET (AUDIOMAN_SRCS_CXX + ${AUDIOMAN_SRCS_CXX} + src/CAmWatchdog.cpp + ) +ENDIF(WITH_SYSTEMD_WATCHDOG) IF (NOT SYSTEMD_FOUND) SET (AUDIOMAN_SRCS_CXX @@ -84,13 +95,6 @@ IF(WITH_NSM) ) ENDIF(WITH_NSM) -IF(WITH_SOCKETHANDLER_LOOP) - SET (AUDIOMAN_SRCS_CXX - ${AUDIOMAN_SRCS_CXX} - src/CAmSocketHandler.cpp - ) -ENDIF(WITH_SOCKETHANDLER_LOOP) - IF(WITH_DATABASE_STORAGE) SET (AUDIOMAN_SRCS_CXX ${AUDIOMAN_SRCS_CXX} |