hdf5/utils/CMakeLists.txt
2024-11-01 07:55:31 -05:00

22 lines
524 B
CMake

cmake_minimum_required (VERSION 3.18)
project (HDF5_UTILS C)
if (NOT HDF5_EXTERNALLY_CONFIGURED AND BUILD_TESTING)
add_subdirectory (test)
endif ()
option (HDF5_BUILD_UTILS "Build HDF5 Utils" ON)
if (HDF5_BUILD_UTILS)
if (HDF5_ENABLE_MIRROR_VFD)
add_subdirectory (mirror_vfd)
endif ()
if (HDF5_ENABLE_SUBFILING_VFD)
add_subdirectory (subfiling_vfd)
endif ()
endif ()
#-- Add the h5dwalk and test executables
if (HDF5_BUILD_PARALLEL_TOOLS AND HDF5_ENABLE_PARALLEL)
add_subdirectory(tools)
endif()