summaryrefslogtreecommitdiffstats
path: root/CTestConfig.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-29 15:49:22 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-29 15:49:22 (GMT)
commitdbcf3c792cbf9eb739a5d8fdfc97382937eb2352 (patch)
tree99acdb02024c3f651da4a8950360f549a927f6b1 /CTestConfig.cmake
parente841dde6c3a9229d53c8d2fdf00ce5073cadf016 (diff)
downloadCMake-dbcf3c792cbf9eb739a5d8fdfc97382937eb2352.zip
CMake-dbcf3c792cbf9eb739a5d8fdfc97382937eb2352.tar.gz
CMake-dbcf3c792cbf9eb739a5d8fdfc97382937eb2352.tar.bz2
ENH: merge in changes from main tree and change version to 2.4.1-beta
Diffstat (limited to 'CTestConfig.cmake')
-rw-r--r--CTestConfig.cmake24
1 files changed, 20 insertions, 4 deletions
diff --git a/CTestConfig.cmake b/CTestConfig.cmake
index 06226a7..2e43722 100644
--- a/CTestConfig.cmake
+++ b/CTestConfig.cmake
@@ -1,7 +1,23 @@
SET (CTEST_PROJECT_NAME "CMake")
SET (CTEST_NIGHTLY_START_TIME "21:00:00 EDT")
-SET (CTEST_DROP_METHOD "http")
-SET (CTEST_DROP_SITE "public.kitware.com")
-SET (CTEST_DROP_LOCATION "/cgi-bin/HTTPUploadDartFile.cgi")
-SET (CTEST_TRIGGER_SITE "http://${CTEST_DROP_SITE}/cgi-bin/Submit-CMake-TestingResults.cgi")
+
+MACRO(SET_IF_NOT_SET var val)
+ IF(NOT DEFINED "${var}")
+ SET("${var}" "${val}")
+ ENDIF(NOT DEFINED "${var}")
+ENDMACRO(SET_IF_NOT_SET)
+
+SET_IF_NOT_SET(CTEST_DROP_METHOD "http")
+IF(CTEST_DROP_METHOD STREQUAL "http")
+ SET (CTEST_DROP_SITE "public.kitware.com")
+ SET (CTEST_DROP_LOCATION "/cgi-bin/HTTPUploadDartFile.cgi")
+ SET (CTEST_TRIGGER_SITE "http://${CTEST_DROP_SITE}/cgi-bin/Submit-CMake-TestingResults.cgi")
+ENDIF(CTEST_DROP_METHOD STREQUAL "http")
+
+IF(CTEST_DROP_METHOD STREQUAL "xmlrpc")
+ SET (CTEST_DROP_SITE "http://www.na-mic.org:8081")
+ SET (CTEST_DROP_LOCATION "CMake")
+ SET (CTEST_TRIGGER_SITE "not used")
+ SET (COMPRESS_SUBMISSION ON)
+ENDIF(CTEST_DROP_METHOD STREQUAL "xmlrpc")