diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-21 17:47:25 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-22 09:45:52 +0300 |
commit | e82587774cec8c05c61e52e94d60057d98cd45e5 (patch) | |
tree | 483f7c20c0641b606e04b1458d08307d5efd1492 /um/wrappers/simple/utils | |
parent | update cmake-common (diff) | |
download | windows7-drivers-e82587774cec8c05c61e52e94d60057d98cd45e5.tar.gz windows7-drivers-e82587774cec8c05c61e52e94d60057d98cd45e5.zip |
cmake: install() PDB files
Diffstat (limited to 'um/wrappers/simple/utils')
-rw-r--r-- | um/wrappers/simple/utils/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/um/wrappers/simple/utils/CMakeLists.txt b/um/wrappers/simple/utils/CMakeLists.txt index 7c2a70d..c266f83 100644 --- a/um/wrappers/simple/utils/CMakeLists.txt +++ b/um/wrappers/simple/utils/CMakeLists.txt @@ -3,3 +3,6 @@ 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) +if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") + install(FILES "$<TARGET_PDB_FILE:simple_exchange_ints>" DESTINATION bin OPTIONAL) +endif() |