summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDF5_Examples.cmake.in
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/cmake/HDF5_Examples.cmake.in
parent8efb84b9a8d287cb9c98adf78549a94e555b02ad (diff)
downloadhdf5-3585b373508ca5ea940fbf6e7d0ffeed1968a6bf.zip
hdf5-3585b373508ca5ea940fbf6e7d0ffeed1968a6bf.tar.gz
hdf5-3585b373508ca5ea940fbf6e7d0ffeed1968a6bf.tar.bz2
Add default site names
Diffstat (limited to 'config/cmake/HDF5_Examples.cmake.in')
-rw-r--r--config/cmake/HDF5_Examples.cmake.in7
1 files changed, 7 insertions, 0 deletions
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)