From 67d12ad1cd3db366f61689b20c78c208dcdad94e Mon Sep 17 00:00:00 2001 From: "B. Scott Michel" Date: Fri, 26 Jun 2020 14:09:02 -0700 Subject: [PATCH] Install MSVC PDB for Debug builds. --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e2edff4..ac75ed8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,6 +154,13 @@ function(shared_lib type def) LIBRARY # DESTINATION ${TARGET_ARCH}/${CONFIG}/lib RUNTIME # DESTINATION ${TARGET_ARCH}/${CONFIG}/bin ) + + install( + FILES $ + CONFIGURATION Debug + DESTINATION lib + OPTIONAL + ) endfunction() function(static_lib type def)