summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-05-03 15:31:44 (GMT)
committerGitHub <noreply@github.com>2023-05-03 15:31:44 (GMT)
commitb9cc2ebac85b5026a2306f98e852ecdd58437894 (patch)
treeb71cb036b1165743ce1ae553e9ae749410bb91be /src
parent94a3d86fb867182f90e60f7955c3653b3ac53b8e (diff)
downloadhdf5-b9cc2ebac85b5026a2306f98e852ecdd58437894.zip
hdf5-b9cc2ebac85b5026a2306f98e852ecdd58437894.tar.gz
hdf5-b9cc2ebac85b5026a2306f98e852ecdd58437894.tar.bz2
Add configure_file commands for batch (#2882)
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0088ae2..75505a6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -987,6 +987,14 @@ if (BUILD_SHARED_LIBS)
endif ()
if (LOCAL_BATCH_TEST)
+ configure_file (
+ ${HDF5_SOURCE_DIR}/bin/batch/ctest_serial.cmake.in
+ ${HDF5_BINARY_DIR}/ctest_serial.cmake ESCAPE_QUOTES @ONLY
+ )
+ configure_file (
+ ${HDF5_SOURCE_DIR}/bin/batch/ctest_parallel.cmake.in
+ ${HDF5_BINARY_DIR}/ctest_parallel.cmake ESCAPE_QUOTES @ONLY
+ )
if (LOCAL_BATCH_SCRIPT_COMMAND STREQUAL "raybsub")
configure_file (
${HDF5_SOURCE_DIR}/bin/batch/${LOCAL_BATCH_SCRIPT_COMMAND}