summaryrefslogtreecommitdiff
path: root/DartConfig.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-16 14:15:29 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-16 14:15:29 -0500
commitfe30286e4af8c258dc18ab587a96f0b388b2988b (patch)
tree909dd924e3a834b2844a96ba01d38a360f8064e7 /DartConfig.cmake
parentc2b3df0c846fba9f5d6b6cfd6175b9c4225d2501 (diff)
downloadcmake-fe30286e4af8c258dc18ab587a96f0b388b2988b.tar.gz
Add selection of drop method
Diffstat (limited to 'DartConfig.cmake')
-rw-r--r--DartConfig.cmake14
1 files changed, 10 insertions, 4 deletions
diff --git a/DartConfig.cmake b/DartConfig.cmake
index f5eef1413a..40fbacc0a7 100644
--- a/DartConfig.cmake
+++ b/DartConfig.cmake
@@ -3,10 +3,16 @@
SET (NIGHTLY_START_TIME "22:00:00 EDT")
# Dart server to submit results (used by client)
-SET (DROP_SITE "public.kitware.com")
-SET (DROP_LOCATION "/incoming")
-SET (DROP_SITE_USER "ftpuser")
-SET (DROP_SITE_PASSWORD "public")
+IF(DROP_METHOD MATCHES http)
+ SET (DROP_SITE "public.kitware.com")
+ SET (DROP_LOCATION "/cgi-bin/HTTPUploadDartFile.cgi")
+ELSE(DROP_METHOD MATCHES http)
+ SET (DROP_SITE "public.kitware.com")
+ SET (DROP_LOCATION "/incoming")
+ SET (DROP_SITE_USER "ftpuser")
+ SET (DROP_SITE_PASSWORD "public")
+ENDIF(DROP_METHOD MATCHES http)
+
SET (TRIGGER_SITE
"http://${DROP_SITE}/cgi-bin/Submit-CMake-TestingResults.pl")