diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-20 15:42:37 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-21 15:51:32 +0300 |
commit | b533666099e0c7c8df824b6dd2dd66fa9107a463 (patch) | |
tree | dbde991d15de996e5cc723cfd4c2cfdf32d9fb22 /test/unit_tests | |
parent | README: update label on Docker badges (diff) | |
download | math-server-b533666099e0c7c8df824b6dd2dd66fa9107a463.tar.gz math-server-b533666099e0c7c8df824b6dd2dd66fa9107a463.zip |
cmake: install() PDB files
Diffstat (limited to 'test/unit_tests')
-rw-r--r-- | test/unit_tests/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt index d212db6..dbb78ed 100644 --- a/test/unit_tests/CMakeLists.txt +++ b/test/unit_tests/CMakeLists.txt @@ -10,3 +10,6 @@ target_link_libraries(unit_tests PRIVATE ${Boost_LIBRARIES}) set_target_properties(unit_tests PROPERTIES OUTPUT_NAME math-server-unit-tests) install(TARGETS unit_tests RUNTIME DESTINATION bin) +if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") + install(FILES "$<TARGET_PDB_FILE:unit_tests>" DESTINATION bin OPTIONAL) +endif() |