hdf5/utils/CMakeLists.txt
Allen Byrne 528a8e7f46
Sync CMake changes from develop (#3811)
Guard test dirs with HDF5_EXTERNALLY_CONFIGURED
Add toolchain support to examples testing
2023-11-02 07:54:32 -05:00

18 lines
431 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)
add_subdirectory (mirror_vfd)
add_subdirectory (subfiling_vfd)
endif ()
#-- Add the h5dwalk and test executables
if (HDF5_BUILD_PARALLEL_TOOLS AND HDF5_ENABLE_PARALLEL)
add_subdirectory(tools)
endif()