summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2021-01-24 11:47:55 -0600
committerGitHub <noreply@github.com>2021-01-24 11:47:55 -0600
commit45e1fc23eaaf4b8c40abbcef46463f9d551368f7 (patch)
treeaa770b00fe66301682423fb8521087809ea8927c
parent408f9ab392da3a978929910b379e1e3ddc552cb5 (diff)
parentb40a1b48db1919fd2f07f3df052153b823543d64 (diff)
Merge pull request #3576 from daschuer/PDBinstall
Added PDB file option to windows installer
-rw-r--r--CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e361571728..4a3d1832ae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1340,6 +1340,17 @@ if(UNIX AND NOT APPLE)
endif()
endif()
+if(MSVC)
+ # install debug symbols if any were generated
+ install(
+ FILES $<TARGET_PDB_FILE:mixxx>
+ CONFIGURATIONS Debug RelWithDebInfo
+ DESTINATION "${MIXXX_INSTALL_BINDIR}"
+ COMPONENT "Debug Information (PDB)"
+ )
+endif()
+
+
#
# Tests
#