mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
0af437a61e
respective utils subdirectories. Fixes #4984.
22 lines
524 B
CMake
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()
|