summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorTobias Frust <tobiasfrust@Tobiass-MacBook-Pro.fritz.box>2016-06-29 21:44:58 +0200
committerTobias Frust <tobiasfrust@Tobiass-MacBook-Pro.fritz.box>2016-06-29 21:44:58 +0200
commit1dc95b4eed7974549ef43a87e0777aa343b30fd4 (patch)
treec61eaa825e4b873354318f1fdc776fa53b2d303e /src/CMakeLists.txt
parent38b0d8ad024d11fa643934b0c56690b0e57c3e35 (diff)
downloadods-1dc95b4eed7974549ef43a87e0777aa343b30fd4.tar.gz
ods-1dc95b4eed7974549ef43a87e0777aa343b30fd4.tar.bz2
ods-1dc95b4eed7974549ef43a87e0777aa343b30fd4.tar.xz
ods-1dc95b4eed7974549ef43a87e0777aa343b30fd4.zip
added client and server executable for testing simple udp packet transfer
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 746b901..80196d9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -31,11 +31,17 @@ include_directories(
${BOOST_INCLUDE_DIRS}
)
-set(SOURCES
+set(SOURCES_CLIENT
"${CMAKE_SOURCE_DIR}/UDPClient/UDPClient.cpp"
"${CMAKE_SOURCE_DIR}/main.cpp"
)
-add_executable(onlineDetectorSimulator ${SOURCES})
+set(SOURCES_SERVER
+ "${CMAKE_SOURCE_DIR}/UDPServer/UDPServer.cpp"
+ "${CMAKE_SOURCE_DIR}/main_server.cpp"
+)
+
+add_executable(onlineDetectorSimulatorServer ${SOURCES_SERVER})
+add_executable(onlineDetectorSimulatorClient ${SOURCES_CLIENT})