Merge pull request #1805 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:develop to develop

* commit '6e4f2798e883a88de7126739307722f6da39dd98':
  HDFFV-10424 add optional variable to avoid PDB installs
This commit is contained in:
Allen Byrne 2019-07-17 11:00:36 -05:00
commit 6add0919d1
2 changed files with 10 additions and 1 deletions

View File

@ -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 $<TARGET_PDB_FILE:${libtarget}>)

View File

@ -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