summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-09-16 20:57:28 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-09-16 20:57:28 (GMT)
commit3585b373508ca5ea940fbf6e7d0ffeed1968a6bf (patch)
tree549e9d3bc03d60d3ec6cb3839adba9c45257d95c /config
parent8efb84b9a8d287cb9c98adf78549a94e555b02ad (diff)
downloadhdf5-3585b373508ca5ea940fbf6e7d0ffeed1968a6bf.zip
hdf5-3585b373508ca5ea940fbf6e7d0ffeed1968a6bf.tar.gz
hdf5-3585b373508ca5ea940fbf6e7d0ffeed1968a6bf.tar.bz2
Add default site names
Diffstat (limited to 'config')
-rw-r--r--config/cmake/HDF518_Examples.cmake.in7
-rw-r--r--config/cmake/HDF5_Examples.cmake.in7
2 files changed, 14 insertions, 0 deletions
diff --git a/config/cmake/HDF518_Examples.cmake.in b/config/cmake/HDF518_Examples.cmake.in
index 2f10c72..efabbe6 100644
--- a/config/cmake/HDF518_Examples.cmake.in
+++ b/config/cmake/HDF518_Examples.cmake.in
@@ -50,6 +50,13 @@ if(NOT DEFINED HDF_LOCAL)
else(NOT HDF_LOCAL)
set(CDASH_LOCAL "YES")
endif()
+if(NOT DEFINED CTEST_SITE)
+ set(CTEST_SITE "local")
+endif()
+if(NOT DEFINED CTEST_BUILD_NAME)
+ set(CTEST_BUILD_NAME "examples")
+endif()
+set(BUILD_OPTIONS "${BUILD_OPTIONS} -DSITE:STRING=${CTEST_SITE} -DBUILDNAME:STRING=${CTEST_BUILD_NAME}")
#TAR_SOURCE - name of tarfile
#if(NOT DEFINED TAR_SOURCE)
diff --git a/config/cmake/HDF5_Examples.cmake.in b/config/cmake/HDF5_Examples.cmake.in
index 9bc75a5..8ea6d18 100644
--- a/config/cmake/HDF5_Examples.cmake.in
+++ b/config/cmake/HDF5_Examples.cmake.in
@@ -56,6 +56,13 @@ if(NOT DEFINED HDF_LOCAL)
else(NOT HDF_LOCAL)
set(CDASH_LOCAL "YES")
endif()
+if(NOT DEFINED CTEST_SITE)
+ set(CTEST_SITE "local")
+endif()
+if(NOT DEFINED CTEST_BUILD_NAME)
+ set(CTEST_BUILD_NAME "examples")
+endif()
+set(BUILD_OPTIONS "${BUILD_OPTIONS} -DSITE:STRING=${CTEST_SITE} -DBUILDNAME:STRING=${CTEST_BUILD_NAME}")
#TAR_SOURCE - name of tarfile
#if(NOT DEFINED TAR_SOURCE)