mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
19 lines
658 B
CMake
19 lines
658 B
CMake
cmake_minimum_required (VERSION 3.18)
|
|
project (HDF5_UTILS_SUBFILINGVFD C)
|
|
|
|
configure_file (${HDF5_UTILS_SUBFILINGVFD_SOURCE_DIR}/h5fuse.in ${HDF5_UTILS_SUBFILINGVFD_BINARY_DIR}/h5fuse @ONLY)
|
|
|
|
# Copy h5fuse to testpar directory for subfiling tests
|
|
if (HDF5_ENABLE_PARALLEL AND HDF5_TEST_PARALLEL)
|
|
file (COPY ${HDF5_UTILS_SUBFILINGVFD_BINARY_DIR}/h5fuse
|
|
DESTINATION ${HDF5_TEST_PAR_BINARY_DIR}
|
|
)
|
|
endif ()
|
|
|
|
install (
|
|
FILES ${HDF5_UTILS_SUBFILINGVFD_BINARY_DIR}/h5fuse
|
|
DESTINATION ${HDF5_INSTALL_BIN_DIR}
|
|
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
|
|
COMPONENT utilsapplications
|
|
)
|