summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-18 12:43:00 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-18 12:43:00 (GMT)
commit99177a2029fd30d37d49ad2026fb5438f1d07c8f (patch)
tree7bd22afd268d8b621dcb24f34651439299db9adb /Source/CTest
parentcff5112385342fde6dd4fc643265789c3616e414 (diff)
parent19beee46cc6e9b7a05694b29420ad49487648501 (diff)
downloadCMake-99177a2029fd30d37d49ad2026fb5438f1d07c8f.zip
CMake-99177a2029fd30d37d49ad2026fb5438f1d07c8f.tar.gz
CMake-99177a2029fd30d37d49ad2026fb5438f1d07c8f.tar.bz2
Merge topic 'propagate_ctest_use_launchers'
19beee46 ctest_configure: Propagate CTEST_USE_LAUNCHERS from caller to project
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestConfigureCommand.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestConfigureCommand.cxx b/Source/CTest/cmCTestConfigureCommand.cxx
index 62802ef..73e893d 100644
--- a/Source/CTest/cmCTestConfigureCommand.cxx
+++ b/Source/CTest/cmCTestConfigureCommand.cxx
@@ -102,6 +102,10 @@ cmCTestGenericHandler* cmCTestConfigureCommand::InitializeHandler()
cmakeConfigureCommand += "\"";
}
+ if (this->Makefile->IsOn("CTEST_USE_LAUNCHERS")) {
+ cmakeConfigureCommand += " \"-DCTEST_USE_LAUNCHERS:BOOL=TRUE\"";
+ }
+
cmakeConfigureCommand += " \"-G";
cmakeConfigureCommand += cmakeGeneratorName;
cmakeConfigureCommand += "\"";