summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-08 14:05:10 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-11-08 14:05:27 (GMT)
commit6c48f5dbc0ad25a80922f11951ebeef7f6b85f73 (patch)
treed2a35adf379acd6a6abda46cdc6590882256dabc /Source
parenta0ad3209b5df98d8e4de7c945ffa083b95bbbe52 (diff)
parent8a16a727f82ecfdad2eac6a12e45f08fff97d765 (diff)
downloadCMake-6c48f5dbc0ad25a80922f11951ebeef7f6b85f73.zip
CMake-6c48f5dbc0ad25a80922f11951ebeef7f6b85f73.tar.gz
CMake-6c48f5dbc0ad25a80922f11951ebeef7f6b85f73.tar.bz2
Merge topic 'ctest_configure-S-B'
8a16a727f8 ctest_config: pass -S, -B args for log clarity Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7870
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestConfigureCommand.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestConfigureCommand.cxx b/Source/CTest/cmCTestConfigureCommand.cxx
index fd20398..1f3633d 100644
--- a/Source/CTest/cmCTestConfigureCommand.cxx
+++ b/Source/CTest/cmCTestConfigureCommand.cxx
@@ -122,10 +122,15 @@ cmCTestGenericHandler* cmCTestConfigureCommand::InitializeHandler()
cmakeConfigureCommand += "\"";
}
- cmakeConfigureCommand += " \"";
+ cmakeConfigureCommand += " \"-S";
cmakeConfigureCommand += source_dir;
cmakeConfigureCommand += "\"";
+ cmakeConfigureCommand += " \"-B";
+ cmakeConfigureCommand +=
+ this->CTest->GetCTestConfiguration("BuildDirectory");
+ cmakeConfigureCommand += "\"";
+
this->CTest->SetCTestConfiguration("ConfigureCommand",
cmakeConfigureCommand, this->Quiet);
} else {