summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt~
diff options
context:
space:
mode:
authorTobias Frust <tobiasfrust@gmail.com>2016-07-21 09:33:42 +0200
committerTobias Frust <tobiasfrust@gmail.com>2016-07-21 09:33:42 +0200
commitcdf8aac7e3a88df0fb93586bbf47b17c192ae2fc (patch)
treead9cc18aeefd5f7923ab0106bc2e580490ba087f /src/CMakeLists.txt~
parent409e2fd20af5620066796e43410a92521376b2c1 (diff)
downloadods-cdf8aac7e3a88df0fb93586bbf47b17c192ae2fc.tar.gz
ods-cdf8aac7e3a88df0fb93586bbf47b17c192ae2fc.tar.bz2
ods-cdf8aac7e3a88df0fb93586bbf47b17c192ae2fc.tar.xz
ods-cdf8aac7e3a88df0fb93586bbf47b17c192ae2fc.zip
added ReceiverThreads for tests with 40GBE
Diffstat (limited to 'src/CMakeLists.txt~')
-rw-r--r--src/CMakeLists.txt~14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/CMakeLists.txt~ b/src/CMakeLists.txt~
index 80196d9..ebe2f50 100644
--- a/src/CMakeLists.txt~
+++ b/src/CMakeLists.txt~
@@ -31,9 +31,18 @@ include_directories(
${BOOST_INCLUDE_DIRS}
)
+set(LINK_LIBRARIES ${LINK_LIBRARIES}
+ ${LIBCONFIGPP_LIBRARY}
+ ${Boost_LIBRARIES}
+)
+
set(SOURCES_CLIENT
+ "${CMAKE_SOURCE_DIR}/ConfigReader/ConfigReader.cpp"
"${CMAKE_SOURCE_DIR}/UDPClient/UDPClient.cpp"
- "${CMAKE_SOURCE_DIR}/main.cpp"
+ "${CMAKE_SOURCE_DIR}/DetectorModule/DetectorModule.cpp"
+ "${CMAKE_SOURCE_DIR}/Detector/Detector.cpp"
+ "${CMAKE_SOURCE_DIR}/main_client.cpp"
+ "${CMAKE_SOURCE_DIR}/ReceiverThreads/ReceiverThreads.cpp"
)
set(SOURCES_SERVER
@@ -43,5 +52,6 @@ set(SOURCES_SERVER
add_executable(onlineDetectorSimulatorServer ${SOURCES_SERVER})
add_executable(onlineDetectorSimulatorClient ${SOURCES_CLIENT})
-
+target_link_libraries(onlineDetectorSimulatorClient ${LINK_LIBRARIES})
+target_link_libraries(onlineDetectorSimulatorServer ${LINK_LIBRARIES})