summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-12-08 17:16:08 (GMT)
committerBrad King <brad.king@kitware.com>2022-12-16 15:12:25 (GMT)
commit6c40e0b25ec8475d73779ffbaa63a4230aa5e28d (patch)
treef79f163ec0573ee870b2c01eb1a547be3d0324bb /Source/cmake.cxx
parent048a02d5bb842c783fad03105bb60e44227765ad (diff)
downloadCMake-6c40e0b25ec8475d73779ffbaa63a4230aa5e28d.zip
CMake-6c40e0b25ec8475d73779ffbaa63a4230aa5e28d.tar.gz
CMake-6c40e0b25ec8475d73779ffbaa63a4230aa5e28d.tar.bz2
ConfigureLog: Version individual events instead of the whole log
In order to support multiple log versions without buffering the entire log, move versioning to the level of individual events. Multiple versions of an event may then be logged consecutively. Issue: #23200
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 17027bc..ee63909 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2428,7 +2428,8 @@ int cmake::ActualConfigure()
if (!this->GetIsInTryCompile()) {
this->TruncateOutputLog("CMakeConfigureLog.yaml");
this->ConfigureLog = cm::make_unique<cmConfigureLog>(
- cmStrCat(this->GetHomeOutputDirectory(), "/CMakeFiles"_s));
+ cmStrCat(this->GetHomeOutputDirectory(), "/CMakeFiles"_s),
+ std::vector<unsigned long>());
}
#endif