From 3585b373508ca5ea940fbf6e7d0ffeed1968a6bf Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Fri, 16 Sep 2016 15:57:28 -0500 Subject: Add default site names --- config/cmake/HDF518_Examples.cmake.in | 7 +++++++ config/cmake/HDF5_Examples.cmake.in | 7 +++++++ 2 files changed, 14 insertions(+) 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) -- cgit v0.12