diff options
author | Jens Lorenz <jlorenz@de.adit-jv.com> | 2015-09-15 14:32:18 +0200 |
---|---|---|
committer | Christian Linke <christian.linke@bmw.de> | 2015-10-06 19:28:39 +0100 |
commit | 276ec7d3e207f089cf9cd1dd375bf8508fc4cde3 (patch) | |
tree | 85168407994ee90d2aecbfd2c5f2ed6c379fea89 /AudioManagerDaemon/test/AmControlInterfaceTest/CMakeLists.txt | |
parent | af5b8d11ef93907ea9593fd61b56340f0a410ea2 (diff) | |
download | audiomanager-276ec7d3e207f089cf9cd1dd375bf8508fc4cde3.tar.gz |
Utilities now build as a static or as a shared library on demand.
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
Diffstat (limited to 'AudioManagerDaemon/test/AmControlInterfaceTest/CMakeLists.txt')
-rw-r--r-- | AudioManagerDaemon/test/AmControlInterfaceTest/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/AudioManagerDaemon/test/AmControlInterfaceTest/CMakeLists.txt b/AudioManagerDaemon/test/AmControlInterfaceTest/CMakeLists.txt index 33a2f8b..44b3aef 100644 --- a/AudioManagerDaemon/test/AmControlInterfaceTest/CMakeLists.txt +++ b/AudioManagerDaemon/test/AmControlInterfaceTest/CMakeLists.txt @@ -23,6 +23,7 @@ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUNIT_TEST=1 -DDLT_CONTEXT=AudioManage set (AM_LINK_LIBS ${CMAKE_DL_LIBS} + AudioManagerUtilities rt) if(WITH_DATABASE_STORAGE) @@ -64,8 +65,6 @@ file(GLOB CONTROL_INTERFACE_SRCS_CXX "${AUDIOMANAGER_DAEMON_FOLDER}/src/CAmControlReceiver.cpp" "${AUDIOMANAGER_DAEMON_FOLDER}/src/CAmControlSender.cpp" "${AUDIOMANAGER_DAEMON_FOLDER}/src/CAmRouter.cpp" - "${AUDIOMANAGER_UTILITIES_SRC}/CAmSocketHandler.cpp" - "${AUDIOMANAGER_UTILITIES_SRC}/CAmDltWrapper.cpp" "../CAmCommonFunctions.cpp" "*.cpp" ) @@ -77,7 +76,7 @@ TARGET_LINK_LIBRARIES(AmControlInterfaceTest gtest gmock) -ADD_DEPENDENCIES(AmControlInterfaceTest gtest gmock) +ADD_DEPENDENCIES(AmControlInterfaceTest gtest gmock AudioManagerUtilities) INSTALL(TARGETS AmControlInterfaceTest DESTINATION ${TEST_EXECUTABLE_INSTALL_PATH} |