diff --git a/src/class_server/CMakeLists.txt b/src/class_server/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..554f34905a0e6c3a109f9797e4c4aaf7ec0be284 --- /dev/null +++ b/src/class_server/CMakeLists.txt @@ -0,0 +1,15 @@ +CMAKE_MINIMUM_REQUIRED(VERSION 3.14) +project (class_server) + +include_directories(include ${Boost_INCLUDE_DIRS} ${YAML_INCLUDE_DIR}) + +add_executable(${PROJECT_NAME} src/class_server_main.cpp src/class_server.cpp) +target_link_libraries(${PROJECT_NAME} logger communication yaml_tools yaml-cpp ${Boost_LIBRARIES}) + +add_executable(class_client src/class_client_example.cpp) +target_link_libraries(class_client logger communication yaml_tools yaml-cpp ${Boost_LIBRARIES}) + + +# 'make install' to the correct location +install(TARGETS ${PROJECT_NAME} + RUNTIME DESTINATION class_server)