[svn-r24682] Add IF SHARED block around Windows PDB file generation command.

This commit is contained in:
Allen Byrne 2014-02-04 10:11:36 -05:00
parent ee10548723
commit 6569d7437a
5 changed files with 16 additions and 11 deletions

View File

@ -106,8 +106,9 @@ INSTALL (
# Add Target(s) to CMake Install for import into other projects # Add Target(s) to CMake Install for import into other projects
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
IF (HDF5_EXPORTED_TARGETS) IF (HDF5_EXPORTED_TARGETS)
IF (BUILD_SHARED_LIBS)
INSTALL_TARGET_PDB (${HDF5_CPP_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} cpplibraries) INSTALL_TARGET_PDB (${HDF5_CPP_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} cpplibraries)
ENDIF (BUILD_SHARED_LIBS)
INSTALL ( INSTALL (
TARGETS TARGETS

View File

@ -284,9 +284,10 @@ ENDIF (WIN32 AND NOT CYGWIN)
# Add Target(s) to CMake Install for import into other projects # Add Target(s) to CMake Install for import into other projects
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
IF (HDF5_EXPORTED_TARGETS) IF (HDF5_EXPORTED_TARGETS)
IF (BUILD_SHARED_LIBS)
INSTALL_TARGET_PDB (${HDF5_F90_C_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} fortlibraries) INSTALL_TARGET_PDB (${HDF5_F90_C_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} fortlibraries)
#INSTALL_TARGET_PDB (${HDF5_F90_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} fortlibraries) #INSTALL_TARGET_PDB (${HDF5_F90_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} fortlibraries)
ENDIF (BUILD_SHARED_LIBS)
INSTALL ( INSTALL (
TARGETS TARGETS

View File

@ -37,8 +37,9 @@ INSTALL (
# Add Target(s) to CMake Install for import into other projects # Add Target(s) to CMake Install for import into other projects
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
IF (HDF5_EXPORTED_TARGETS) IF (HDF5_EXPORTED_TARGETS)
IF (BUILD_SHARED_LIBS)
INSTALL_TARGET_PDB (${HDF5_HL_CPP_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} hlcpplibraries) INSTALL_TARGET_PDB (${HDF5_HL_CPP_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} hlcpplibraries)
ENDIF (BUILD_SHARED_LIBS)
INSTALL ( INSTALL (
TARGETS TARGETS

View File

@ -866,8 +866,9 @@ ENDIF (NOT HDF5_INSTALL_NO_DEVELOPMENT)
# Add Target(s) to CMake Install for import into other projects # Add Target(s) to CMake Install for import into other projects
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
IF (HDF5_EXPORTED_TARGETS) IF (HDF5_EXPORTED_TARGETS)
IF (BUILD_SHARED_LIBS)
INSTALL_TARGET_PDB (${HDF5_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} libraries) INSTALL_TARGET_PDB (${HDF5_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} libraries)
ENDIF (BUILD_SHARED_LIBS)
INSTALL ( INSTALL (
TARGETS TARGETS

View File

@ -86,8 +86,9 @@ ENDIF (APPLE)
# Add Target(s) to CMake Install for import into other projects # Add Target(s) to CMake Install for import into other projects
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
IF (HDF5_EXPORTED_TARGETS) IF (HDF5_EXPORTED_TARGETS)
IF (BUILD_SHARED_LIBS)
INSTALL_TARGET_PDB (${HDF5_TOOLS_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} toolslibraries) INSTALL_TARGET_PDB (${HDF5_TOOLS_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} toolslibraries)
ENDIF (BUILD_SHARED_LIBS)
INSTALL ( INSTALL (
TARGETS TARGETS