diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-16 12:25:31 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-16 12:25:31 +0300 |
commit | 719561fcf25d1ae5d6a612555fdeccaf848bf1cc (patch) | |
tree | 8d7e774bd8d1b6622122dca12d9ad72d9482a193 /um | |
parent | AppVeyor: Release builds only on master (diff) | |
download | windows7-drivers-719561fcf25d1ae5d6a612555fdeccaf848bf1cc.tar.gz windows7-drivers-719561fcf25d1ae5d6a612555fdeccaf848bf1cc.zip |
cmake: add install() rules
Diffstat (limited to 'um')
-rw-r--r-- | um/service/utils/CMakeLists.txt | 3 | ||||
-rw-r--r-- | um/wrappers/simple/utils/CMakeLists.txt | 2 | ||||
-rw-r--r-- | um/wrappers/special/nt_namespace/utils/CMakeLists.txt | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/um/service/utils/CMakeLists.txt b/um/service/utils/CMakeLists.txt index f288c51..fa81443 100644 --- a/um/service/utils/CMakeLists.txt +++ b/um/service/utils/CMakeLists.txt @@ -13,3 +13,6 @@ 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) diff --git a/um/wrappers/simple/utils/CMakeLists.txt b/um/wrappers/simple/utils/CMakeLists.txt index c4d3bdd..7c2a70d 100644 --- a/um/wrappers/simple/utils/CMakeLists.txt +++ b/um/wrappers/simple/utils/CMakeLists.txt @@ -1,3 +1,5 @@ add_executable(simple_exchange_ints exchange_ints.cpp) target_link_libraries(simple_exchange_ints PRIVATE simple) set_target_properties(simple_exchange_ints PROPERTIES OUTPUT_NAME exchange_ints) + +install(TARGETS simple_exchange_ints RUNTIME DESTINATION bin) diff --git a/um/wrappers/special/nt_namespace/utils/CMakeLists.txt b/um/wrappers/special/nt_namespace/utils/CMakeLists.txt index 9657693..5d354ce 100644 --- a/um/wrappers/special/nt_namespace/utils/CMakeLists.txt +++ b/um/wrappers/special/nt_namespace/utils/CMakeLists.txt @@ -5,3 +5,5 @@ if(MINGW) target_compile_options(nt_namespace_convert PRIVATE -municode) target_link_libraries(nt_namespace_convert PRIVATE -municode) endif() + +install(TARGETS nt_namespace_convert RUNTIME DESTINATION bin) |