aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um/service/utils/CMakeLists.txt
blob: fa81443d886dd75e14602aef63bb9c5bb9a58ec6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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(service_start start_service.cpp)
target_link_libraries(service_start PRIVATE service)
set_target_properties(service_start PROPERTIES OUTPUT_NAME start_service)

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(service_uninstall uninstall_service.cpp)
target_link_libraries(service_uninstall PRIVATE service)
set_target_properties(service_uninstall PROPERTIES OUTPUT_NAME uninstall_service)

install(TARGETS service_install service_start service_stop service_uninstall
        RUNTIME DESTINATION bin)