aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/main/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-20 15:42:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-21 15:51:32 +0300
commitb533666099e0c7c8df824b6dd2dd66fa9107a463 (patch)
treedbde991d15de996e5cc723cfd4c2cfdf32d9fb22 /server/main/CMakeLists.txt
parentREADME: update label on Docker badges (diff)
downloadmath-server-b533666099e0c7c8df824b6dd2dd66fa9107a463.tar.gz
math-server-b533666099e0c7c8df824b6dd2dd66fa9107a463.zip
cmake: install() PDB files
Diffstat (limited to '')
-rw-r--r--server/main/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/main/CMakeLists.txt b/server/main/CMakeLists.txt
index 25ca7be..7269005 100644
--- a/server/main/CMakeLists.txt
+++ b/server/main/CMakeLists.txt
@@ -21,3 +21,6 @@ endif()
set_target_properties(server PROPERTIES OUTPUT_NAME math-server)
install(TARGETS server RUNTIME DESTINATION bin)
+if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
+ install(FILES "$<TARGET_PDB_FILE:server>" DESTINATION bin OPTIONAL)
+endif()