From 6e4f2798e883a88de7126739307722f6da39dd98 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 17 Jul 2019 10:42:58 -0500 Subject: HDFFV-10424 add optional variable to avoid PDB installs --- config/cmake_ext_mod/HDFMacros.cmake | 2 +- release_docs/RELEASE.txt | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/config/cmake_ext_mod/HDFMacros.cmake b/config/cmake_ext_mod/HDFMacros.cmake index 52b96fc..0a4598d 100644 --- a/config/cmake_ext_mod/HDFMacros.cmake +++ b/config/cmake_ext_mod/HDFMacros.cmake @@ -73,7 +73,7 @@ endmacro () #------------------------------------------------------------------------------- macro (INSTALL_TARGET_PDB libtarget targetdestination targetcomponent) - if (WIN32 AND MSVC) + if (WIN32 AND MSVC AND NOT DISABLE_PDB_FILES) get_target_property (target_type ${libtarget} TYPE) if (${libtype} MATCHES "SHARED") set (targetfilename $) diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 01d8658..6be1d7f 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -48,6 +48,15 @@ New Features Configuration: ------------- + - Windows PDB files are always installed + + There are configuration settings for Windows, that may not generate + PDB files. As such the install utility will break because those files + are not found. Add an optional variable that can be set to not install + PDB files. + + (ADB - 2019/07/17, HDFFV-100424) + - Windows PDB files are installed incorrectly For static builds, the PDB files for windows should be installed next -- cgit v0.12