diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-12-17 03:56:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-17 03:56:07 (GMT) |
commit | 149b8e9769887c5b23400b526dc10463f88f2c3e (patch) | |
tree | c6eaae15688e7fe8be18664ec8f0e8c31f8ec15d /hl/tools/CMakeLists.txt | |
parent | 8102fa8c972bdc0d8fd8f3dae604e070893150d6 (diff) | |
download | hdf5-149b8e9769887c5b23400b526dc10463f88f2c3e.zip hdf5-149b8e9769887c5b23400b526dc10463f88f2c3e.tar.gz hdf5-149b8e9769887c5b23400b526dc10463f88f2c3e.tar.bz2 |
Disable hl tools by default (#2313)
* Disable hl tools by default
* identify the tools
* Only GIF tools are depecated
* Add new option
* Update autotools
Diffstat (limited to 'hl/tools/CMakeLists.txt')
-rw-r--r-- | hl/tools/CMakeLists.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/hl/tools/CMakeLists.txt b/hl/tools/CMakeLists.txt index a209fbb..7df2b79 100644 --- a/hl/tools/CMakeLists.txt +++ b/hl/tools/CMakeLists.txt @@ -1,6 +1,14 @@ cmake_minimum_required (VERSION 3.18) project (HDF5_HL_TOOLS C) -add_subdirectory (gif2h5) + #----------------------------------------------------------------------------- + #-- Option to build the High level GIF Tools + #----------------------------------------------------------------------------- + if (EXISTS "${HDF5_HL_SOURCE_DIR}/gif2h5" AND IS_DIRECTORY "${HDF5_HL_SOURCE_DIR}/gif2h5") + option (HDF5_BUILD_HL_GIF_TOOLS "Build HDF5 HL GIF Tools" OFF) + if (HDF5_BUILD_HL_GIF_TOOLS) + add_subdirectory (gif2h5) + endif () + endif () add_subdirectory (h5watch) |