You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bb...@apache.org on 2020/04/24 15:21:22 UTC
[geode-native] branch develop updated: GEODE-8015: Install PDB
(symbol) files on Windows builds (#592)
This is an automated email from the ASF dual-hosted git repository.
bbender pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new a34a5e6 GEODE-8015: Install PDB (symbol) files on Windows builds (#592)
a34a5e6 is described below
commit a34a5e699cf3ee766e9299ec8b9d8fe4e6a02057
Author: Blake Bender <bb...@pivotal.io>
AuthorDate: Fri Apr 24 15:21:16 2020 +0000
GEODE-8015: Install PDB (symbol) files on Windows builds (#592)
- Valid for Debug and RelWithDebInfo configs
---
clicache/src/CMakeLists.txt | 8 ++++++++
cppcache/shared/CMakeLists.txt | 8 ++++++++
cryptoimpl/CMakeLists.txt | 8 ++++++++
3 files changed, 24 insertions(+)
diff --git a/clicache/src/CMakeLists.txt b/clicache/src/CMakeLists.txt
index cda87a9..e38c8c0 100644
--- a/clicache/src/CMakeLists.txt
+++ b/clicache/src/CMakeLists.txt
@@ -352,6 +352,14 @@ install(TARGETS ${PROJECT_NAME}
ARCHIVE DESTINATION lib
)
+IF(MSVC)
+ INSTALL (
+ FILES $<TARGET_PDB_FILE:${PROJECT_NAME}>
+ DESTINATION bin
+ CONFIGURATIONS Debug RelWithDebInfo
+ )
+ENDIF(MSVC)
+
add_dependencies(client-libraries ${PROJECT_NAME})
add_subdirectory(templates)
diff --git a/cppcache/shared/CMakeLists.txt b/cppcache/shared/CMakeLists.txt
index d1722e5..6922cf3 100644
--- a/cppcache/shared/CMakeLists.txt
+++ b/cppcache/shared/CMakeLists.txt
@@ -57,6 +57,14 @@ install(TARGETS apache-geode
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
+IF(MSVC)
+ INSTALL (
+ FILES $<TARGET_PDB_FILE:${PROJECT_NAME}>
+ DESTINATION bin
+ CONFIGURATIONS Debug RelWithDebInfo
+ )
+ENDIF(MSVC)
+
# BEGIN Visual Studio organization
source_group("Header Files" REGULAR_EXPRESSION "\.(hpp|inl)$")
source_group("Configure In Files" FILES ${CONFIGURE_IN_FILES})
diff --git a/cryptoimpl/CMakeLists.txt b/cryptoimpl/CMakeLists.txt
index 95d2f4a..44aadd7 100644
--- a/cryptoimpl/CMakeLists.txt
+++ b/cryptoimpl/CMakeLists.txt
@@ -43,6 +43,14 @@ target_link_libraries(cryptoImpl
c++11
)
+IF(MSVC)
+ INSTALL (
+ FILES $<TARGET_PDB_FILE:${PROJECT_NAME}>
+ DESTINATION bin
+ CONFIGURATIONS Debug RelWithDebInfo
+ )
+ENDIF(MSVC)
+
add_clangformat(cryptoImpl)
if ("Windows" STREQUAL ${CMAKE_SYSTEM_NAME} )