summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-12-17 03:54:20 (GMT)
committerGitHub <noreply@github.com>2022-12-17 03:54:20 (GMT)
commita2ce031f32114fdb8d785f5f9685dc5633e73467 (patch)
tree74ffa5706bcfef93723ce25c1418ac2289f1cfa6 /hl
parent7379c6cad9c41be3ba6a82cc31a73779cb33168f (diff)
downloadhdf5-a2ce031f32114fdb8d785f5f9685dc5633e73467.zip
hdf5-a2ce031f32114fdb8d785f5f9685dc5633e73467.tar.gz
hdf5-a2ce031f32114fdb8d785f5f9685dc5633e73467.tar.bz2
1.14 Disable hl tools by default #2313 (#2318)
* Disable hl tools by default #2313 * Only gif tools are deprecated * Update autotools
Diffstat (limited to 'hl')
-rw-r--r--hl/tools/CMakeLists.txt10
-rw-r--r--hl/tools/Makefile.am8
2 files changed, 16 insertions, 2 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)
diff --git a/hl/tools/Makefile.am b/hl/tools/Makefile.am
index 6687f40..f3fe0d3 100644
--- a/hl/tools/Makefile.am
+++ b/hl/tools/Makefile.am
@@ -18,7 +18,13 @@
include $(top_srcdir)/config/commence.am
+if BUILD_TOOLS_HL_GIF_CONDITIONAL
+ TOOLS_GIF_DIR = gif2h5
+else
+ TOOLS_GIF_DIR =
+endif
+
# All subdirectories
-SUBDIRS=gif2h5 h5watch
+SUBDIRS=$(TOOLS_DIR) h5watch
include $(top_srcdir)/config/conclude.am