From 7a9bea16120a2b3b0bf62fd09e052953949064fd Mon Sep 17 00:00:00 2001 From: Simon Hoinkis Date: Thu, 17 Mar 2022 13:59:56 +0100 Subject: [PATCH] iox-#1295 Rename executables of icediscovery Signed-off-by: Simon Hoinkis --- iceoryx_examples/icediscovery/CMakeLists.txt | 46 ++++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/iceoryx_examples/icediscovery/CMakeLists.txt b/iceoryx_examples/icediscovery/CMakeLists.txt index a72b705c89..a5ae1fdb51 100644 --- a/iceoryx_examples/icediscovery/CMakeLists.txt +++ b/iceoryx_examples/icediscovery/CMakeLists.txt @@ -26,39 +26,39 @@ find_package(iceoryx_hoofs CONFIG REQUIRED) get_target_property(ICEORYX_CXX_STANDARD iceoryx_posh::iceoryx_posh CXX_STANDARD) include(IceoryxPlatform) -add_executable(iox-offer-service ./iox_offer_service.cpp) -target_link_libraries(iox-offer-service +add_executable(iox-cpp-offer-service ./iox_offer_service.cpp) +target_link_libraries(iox-cpp-offer-service iceoryx_posh::iceoryx_posh ) -target_compile_options(iox-offer-service PRIVATE ${ICEORYX_WARNINGS} ${ICEORYX_SANITIZER_FLAGS}) +target_compile_options(iox-cpp-offer-service PRIVATE ${ICEORYX_WARNINGS} ${ICEORYX_SANITIZER_FLAGS}) -add_executable(iox-find-service ./iox_find_service.cpp) -target_link_libraries(iox-find-service +add_executable(iox-cpp-find-service ./iox_find_service.cpp) +target_link_libraries(iox-cpp-find-service iceoryx_posh::iceoryx_posh ) -target_compile_options(iox-find-service PRIVATE ${ICEORYX_WARNINGS} ${ICEORYX_SANITIZER_FLAGS}) +target_compile_options(iox-cpp-find-service PRIVATE ${ICEORYX_WARNINGS} ${ICEORYX_SANITIZER_FLAGS}) -add_executable(iox-wait-for-service ./iox_wait_for_service.cpp ./src/discovery_blocking.cpp) -target_link_libraries(iox-wait-for-service +add_executable(iox-cpp-wait-for-service ./iox_wait_for_service.cpp ./src/discovery_blocking.cpp) +target_link_libraries(iox-cpp-wait-for-service iceoryx_posh::iceoryx_posh ) -add_executable(iox-discovery-monitor ./iox_discovery_monitor.cpp ./src/discovery_monitor.cpp) -target_link_libraries(iox-discovery-monitor +add_executable(iox-cpp-discovery-monitor ./iox_discovery_monitor.cpp ./src/discovery_monitor.cpp) +target_link_libraries(iox-cpp-discovery-monitor iceoryx_posh::iceoryx_posh ) -target_include_directories(iox-wait-for-service PRIVATE include) -target_include_directories(iox-discovery-monitor PRIVATE include) +target_include_directories(iox-cpp-wait-for-service PRIVATE include) +target_include_directories(iox-cpp-discovery-monitor PRIVATE include) -target_compile_options(iox-wait-for-service PRIVATE ${ICEORYX_WARNINGS} ${ICEORYX_SANITIZER_FLAGS}) -target_compile_options(iox-discovery-monitor PRIVATE ${ICEORYX_WARNINGS} ${ICEORYX_SANITIZER_FLAGS}) -target_compile_options(iox-offer-service PRIVATE ${ICEORYX_WARNINGS} ${ICEORYX_SANITIZER_FLAGS}) +target_compile_options(iox-cpp-wait-for-service PRIVATE ${ICEORYX_WARNINGS} ${ICEORYX_SANITIZER_FLAGS}) +target_compile_options(iox-cpp-discovery-monitor PRIVATE ${ICEORYX_WARNINGS} ${ICEORYX_SANITIZER_FLAGS}) +target_compile_options(iox-cpp-offer-service PRIVATE ${ICEORYX_WARNINGS} ${ICEORYX_SANITIZER_FLAGS}) -set_target_properties(iox-offer-service - iox-find-service - iox-wait-for-service - iox-discovery-monitor +set_target_properties(iox-cpp-offer-service + iox-cpp-find-service + iox-cpp-wait-for-service + iox-cpp-discovery-monitor PROPERTIES CXX_STANDARD_REQUIRED ON CXX_STANDARD ${ICEORYX_CXX_STANDARD} @@ -67,8 +67,8 @@ set_target_properties(iox-offer-service # ========================================================== // -install(TARGETS iox-offer-service - iox-find-service - iox-wait-for-service - iox-discovery-monitor +install(TARGETS iox-cpp-offer-service + iox-cpp-find-service + iox-cpp-wait-for-service + iox-cpp-discovery-monitor RUNTIME DESTINATION bin)