diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-02-02 18:09:10 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-02-02 18:09:10 (GMT) |
commit | 177c050891d979ec1197e68bf3ca7dd3148cb08b (patch) | |
tree | d4e1329e41af6f1c9d96fb10c03eefe48c619fc0 /tools/src/misc | |
parent | be955c5e792ff642c259c25999a86c6007682019 (diff) | |
download | hdf5-177c050891d979ec1197e68bf3ca7dd3148cb08b.zip hdf5-177c050891d979ec1197e68bf3ca7dd3148cb08b.tar.gz hdf5-177c050891d979ec1197e68bf3ca7dd3148cb08b.tar.bz2 |
HDFFV-9875 Fix target exports and add static tools pdb files
Diffstat (limited to 'tools/src/misc')
-rw-r--r-- | tools/src/misc/CMakeLists.txt | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/tools/src/misc/CMakeLists.txt b/tools/src/misc/CMakeLists.txt index dbbadd4..1292628 100644 --- a/tools/src/misc/CMakeLists.txt +++ b/tools/src/misc/CMakeLists.txt @@ -61,15 +61,16 @@ set (H5_DEP_EXECUTABLES #----------------------------------------------------------------------------- # Rules for Installation of tools using make Install target #----------------------------------------------------------------------------- +if (HDF5_EXPORTED_TARGETS) + INSTALL_PROGRAM_PDB (h5debug ${HDF5_INSTALL_BIN_DIR} toolsapplications) + INSTALL_PROGRAM_PDB (h5repart ${HDF5_INSTALL_BIN_DIR} toolsapplications) + INSTALL_PROGRAM_PDB (h5mkgrp ${HDF5_INSTALL_BIN_DIR} toolsapplications) -#INSTALL_PROGRAM_PDB (h5debug ${HDF5_INSTALL_BIN_DIR} toolsapplications) -#INSTALL_PROGRAM_PDB (h5repart ${HDF5_INSTALL_BIN_DIR} toolsapplications) -#INSTALL_PROGRAM_PDB (h5mkgrp ${HDF5_INSTALL_BIN_DIR} toolsapplications) - -install ( - TARGETS - h5debug h5repart h5mkgrp - EXPORT - ${HDF5_EXPORTED_TARGETS} - RUNTIME DESTINATION ${HDF5_INSTALL_BIN_DIR} COMPONENT toolsapplications -) + install ( + TARGETS + h5debug h5repart h5mkgrp + EXPORT + ${HDF5_EXPORTED_TARGETS} + RUNTIME DESTINATION ${HDF5_INSTALL_BIN_DIR} COMPONENT toolsapplications + ) +endif () |