From 1fa2e67e227b64bc316c66eb79c389b032bf941f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 29 Apr 2017 14:10:29 +0300 Subject: um: strip the 'lib' prefix from CMake targets --- um/service/utils/CMakeLists.txt | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'um/service/utils') diff --git a/um/service/utils/CMakeLists.txt b/um/service/utils/CMakeLists.txt index fc5cc1b..f288c51 100644 --- a/um/service/utils/CMakeLists.txt +++ b/um/service/utils/CMakeLists.txt @@ -1,11 +1,15 @@ -add_executable(install_service install_service.cpp) -target_link_libraries(install_service PRIVATE libservice) +add_executable(service_install install_service.cpp) +target_link_libraries(service_install PRIVATE service) +set_target_properties(service_install PROPERTIES OUTPUT_NAME install_service) -add_executable(start_service start_service.cpp) -target_link_libraries(start_service PRIVATE libservice) +add_executable(service_start start_service.cpp) +target_link_libraries(service_start PRIVATE service) +set_target_properties(service_start PROPERTIES OUTPUT_NAME start_service) -add_executable(stop_service stop_service.cpp) -target_link_libraries(stop_service PRIVATE libservice) +add_executable(service_stop stop_service.cpp) +target_link_libraries(service_stop PRIVATE service) +set_target_properties(service_stop PROPERTIES OUTPUT_NAME stop_service) -add_executable(uninstall_service uninstall_service.cpp) -target_link_libraries(uninstall_service PRIVATE libservice) +add_executable(service_uninstall uninstall_service.cpp) +target_link_libraries(service_uninstall PRIVATE service) +set_target_properties(service_uninstall PROPERTIES OUTPUT_NAME uninstall_service) -- cgit v1.2.3