diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5copy/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tools/h5diff/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tools/h5dump/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tools/h5import/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tools/h5jam/CMakeLists.txt | 4 | ||||
-rw-r--r-- | tools/h5ls/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tools/h5repack/CMakeLists.txt | 4 | ||||
-rw-r--r-- | tools/h5stat/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tools/lib/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tools/misc/CMakeLists.txt | 4 |
10 files changed, 28 insertions, 0 deletions
diff --git a/tools/h5copy/CMakeLists.txt b/tools/h5copy/CMakeLists.txt index 11cebca..07d7570 100644 --- a/tools/h5copy/CMakeLists.txt +++ b/tools/h5copy/CMakeLists.txt @@ -16,6 +16,8 @@ TARGET_LINK_LIBRARIES (h5copy ${HDF5_TOOLS_LIB_TARGET} ${HDF5_LIB_TARGET}) SET (H5_DEP_EXECUTABLES h5copy) +set_target_properties(h5copy PROPERTIES FOLDER tools) + ############################################################################## ############################################################################## ### T E S T I N G ### diff --git a/tools/h5diff/CMakeLists.txt b/tools/h5diff/CMakeLists.txt index 866102b..ec8600f 100644 --- a/tools/h5diff/CMakeLists.txt +++ b/tools/h5diff/CMakeLists.txt @@ -28,6 +28,8 @@ IF (H5_HAVE_PARALLEL) TARGET_LINK_LIBRARIES (ph5diff ${HDF5_TOOLS_LIB_TARGET} ${HDF5_LIB_TARGET}) ENDIF (H5_HAVE_PARALLEL) +set_target_properties(h5diff PROPERTIES FOLDER tools) + ############################################################################## ############################################################################## ### T E S T I N G ### diff --git a/tools/h5dump/CMakeLists.txt b/tools/h5dump/CMakeLists.txt index aafd14d..fbbe1ca 100644 --- a/tools/h5dump/CMakeLists.txt +++ b/tools/h5dump/CMakeLists.txt @@ -16,6 +16,8 @@ TARGET_LINK_LIBRARIES (h5dump ${HDF5_TOOLS_LIB_TARGET} ${HDF5_LIB_TARGET}) SET (H5_DEP_EXECUTABLES h5dump) +set_target_properties(h5dump PROPERTIES FOLDER tools) + ############################################################################## ############################################################################## ### T E S T I N G ### diff --git a/tools/h5import/CMakeLists.txt b/tools/h5import/CMakeLists.txt index abd0b7d..38e5cc1 100644 --- a/tools/h5import/CMakeLists.txt +++ b/tools/h5import/CMakeLists.txt @@ -16,6 +16,8 @@ TARGET_LINK_LIBRARIES (h5import ${HDF5_TOOLS_LIB_TARGET} ${HDF5_LIB_TARGET}) SET (H5_DEP_EXECUTABLES h5import) +set_target_properties(h5import PROPERTIES FOLDER tools) + ############################################################################## ############################################################################## ### T E S T I N G ### @@ -29,6 +31,7 @@ IF (BUILD_TESTING) ADD_EXECUTABLE (h5importtest ${HDF5_TOOLS_H5IMPORT_SOURCE_DIR}/h5importtest.c) TARGET_NAMING (h5importtest ${LIB_TYPE}) TARGET_LINK_LIBRARIES (h5importtest ${HDF5_LIB_TARGET} ${HDF5_TOOLS_LIB_TARGET}) + set_target_properties(h5importtest PROPERTIES FOLDER tools) SET (HDF5_REFERENCE_CONF_FILES binfp64.conf diff --git a/tools/h5jam/CMakeLists.txt b/tools/h5jam/CMakeLists.txt index 9925e2a..00d2b24 100644 --- a/tools/h5jam/CMakeLists.txt +++ b/tools/h5jam/CMakeLists.txt @@ -33,6 +33,10 @@ SET (H5_DEP_EXECUTABLES h5unjam ) +FOREACH (tool ${H5_DEP_EXECUTABLES}) + set_target_properties(${tool} PROPERTIES FOLDER tools) +ENDFOREACH (tool ${H5_DEP_EXECUTABLES}) + ############################################################################## ############################################################################## ### T E S T I N G ### diff --git a/tools/h5ls/CMakeLists.txt b/tools/h5ls/CMakeLists.txt index 2cd11cd..5708a2d 100644 --- a/tools/h5ls/CMakeLists.txt +++ b/tools/h5ls/CMakeLists.txt @@ -18,6 +18,8 @@ SET (H5_DEP_EXECUTABLES h5ls ) +set_target_properties(h5ls PROPERTIES FOLDER tools) + ############################################################################## ############################################################################## ### T E S T I N G ### diff --git a/tools/h5repack/CMakeLists.txt b/tools/h5repack/CMakeLists.txt index b2fb8d3..caa8601 100644 --- a/tools/h5repack/CMakeLists.txt +++ b/tools/h5repack/CMakeLists.txt @@ -26,6 +26,8 @@ TARGET_LINK_LIBRARIES (h5repack ${HDF5_TOOLS_LIB_TARGET} ${HDF5_LIB_TARGET}) SET (H5_DEP_EXECUTABLES h5repack) +set_target_properties(h5repack PROPERTIES FOLDER tools) + ############################################################################## ############################################################################## ### T E S T I N G ### @@ -39,10 +41,12 @@ IF (BUILD_TESTING) ADD_EXECUTABLE (testh5repack_detect_szip ${HDF5_TOOLS_H5REPACK_SOURCE_DIR}/testh5repack_detect_szip.c) TARGET_NAMING (testh5repack_detect_szip ${LIB_TYPE}) TARGET_LINK_LIBRARIES (testh5repack_detect_szip ${HDF5_LIB_TARGET} ${HDF5_TOOLS_LIB_TARGET} ${HDF5_TEST_LIB_TARGET}) + set_target_properties(testh5repack_detect_szip PROPERTIES FOLDER tools) ADD_EXECUTABLE (h5repacktest ${REPACK_COMMON_SRCS} ${HDF5_TOOLS_H5REPACK_SOURCE_DIR}/h5repacktst.c) TARGET_NAMING (h5repacktest ${LIB_TYPE}) TARGET_LINK_LIBRARIES (h5repacktest ${HDF5_TOOLS_LIB_TARGET} ${HDF5_TEST_LIB_TARGET}) + set_target_properties(h5repacktest PROPERTIES FOLDER tools) IF (HDF5_TEST_VFD) SET (VFD_LIST diff --git a/tools/h5stat/CMakeLists.txt b/tools/h5stat/CMakeLists.txt index a4b06a6..a6e9c24 100644 --- a/tools/h5stat/CMakeLists.txt +++ b/tools/h5stat/CMakeLists.txt @@ -16,6 +16,8 @@ TARGET_LINK_LIBRARIES (h5stat ${HDF5_TOOLS_LIB_TARGET} ${HDF5_LIB_TARGET}) SET (H5_DEP_EXECUTABLES h5stat) +set_target_properties(h5stat PROPERTIES FOLDER tools) + ############################################################################## ############################################################################## ### T E S T I N G ### diff --git a/tools/lib/CMakeLists.txt b/tools/lib/CMakeLists.txt index 1e8afa1..578c54b 100644 --- a/tools/lib/CMakeLists.txt +++ b/tools/lib/CMakeLists.txt @@ -41,6 +41,9 @@ H5_SET_LIB_OPTIONS ( HDF5_TOOLS_LIB_NAME_DEBUG ) +# Add the tools library to a Visual Studio solution file +set_target_properties(hdf5_tools PROPERTIES FOLDER libraries) + ############################################################################## ############################################################################## ### I N S T A L L A T I O N ### diff --git a/tools/misc/CMakeLists.txt b/tools/misc/CMakeLists.txt index 3e9fe69..5f62283 100644 --- a/tools/misc/CMakeLists.txt +++ b/tools/misc/CMakeLists.txt @@ -14,14 +14,17 @@ INCLUDE_DIRECTORIES (${HDF5_PROJECT_DIR}/test) ADD_EXECUTABLE (h5debug ${HDF5_TOOLS_MISC_SOURCE_DIR}/h5debug.c) TARGET_NAMING (h5debug ${LIB_TYPE}) TARGET_LINK_LIBRARIES (h5debug ${HDF5_LIB_TARGET} ${HDF5_TOOLS_LIB_TARGET}) +set_target_properties(h5debug PROPERTIES FOLDER tools) ADD_EXECUTABLE (h5repart ${HDF5_TOOLS_MISC_SOURCE_DIR}/h5repart.c) TARGET_NAMING (h5repart ${LIB_TYPE}) TARGET_LINK_LIBRARIES (h5repart ${HDF5_LIB_TARGET} ${HDF5_TOOLS_LIB_TARGET}) +set_target_properties(h5repart PROPERTIES FOLDER tools) ADD_EXECUTABLE (h5mkgrp ${HDF5_TOOLS_MISC_SOURCE_DIR}/h5mkgrp.c) TARGET_NAMING (h5mkgrp ${LIB_TYPE}) TARGET_LINK_LIBRARIES (h5mkgrp ${HDF5_TOOLS_LIB_TARGET} ${HDF5_LIB_TARGET}) +set_target_properties(h5mkgrp PROPERTIES FOLDER tools) SET (H5_DEP_EXECUTABLES h5debug @@ -49,6 +52,7 @@ IF (BUILD_TESTING) ADD_EXECUTABLE (h5repart_test ${HDF5_TOOLS_MISC_SOURCE_DIR}/repart_test.c) TARGET_NAMING (h5repart_test ${LIB_TYPE}) TARGET_LINK_LIBRARIES (h5repart_test ${HDF5_LIB_TARGET} ${HDF5_TOOLS_LIB_TARGET}) + set_target_properties(h5repart_test PROPERTIES FOLDER tools) # -------------------------------------------------------------------- # Copy all the HDF5 files from the test directory into the source directory |