Allowing users to customize CDash drop site/location via environment variables.
@@ -10,6 +10,14 @@ set (CTEST_PROJECT_NAME "PIO")
set (CTEST_NIGHTLY_START_TIME "00:00:00 EST")
set (CTEST_DROP_METHOD "http")
+if (DEFINED ENV{PIO_DASHBOARD_DROP_SITE})
+ set (CTEST_DROP_SITE "$ENV{PIO_DASHBOARD_DROP_SITE}")
+else ()
set (CTEST_DROP_SITE "my.cdash.org")
+endif ()
+if (DEFINED ENV{PIO_DASHBOARD_PROJECT_NAME})
+ set (CTEST_DROP_LOCATION "/submit.php?project=$ENV{PIO_DASHBOARD_PROJECT_NAME}")
+else ()
set (CTEST_DROP_LOCATION "/submit.php?project=PIO")
+endif ()
set (CTEST_DROP_SITE_CDASH TRUE)
