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