diff options
author | Brad King <brad.king@kitware.com> | 2023-01-20 14:36:57 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-01-20 14:37:08 (GMT) |
commit | 06c7e88b9148fce5721335409015892b6fa4faba (patch) | |
tree | cdbccd3bd2e13ba0dcf17dedb2dd27546bbbc115 /Source | |
parent | 1d52007564f114a158e9f1612a39e6b33ca37934 (diff) | |
parent | 317aac14efde7c8026c40b154cab237ceee4d0b0 (diff) | |
download | CMake-06c7e88b9148fce5721335409015892b6fa4faba.zip CMake-06c7e88b9148fce5721335409015892b6fa4faba.tar.gz CMake-06c7e88b9148fce5721335409015892b6fa4faba.tar.bz2 |
Merge topic 'configure-log'
317aac14ef cmake: Stop pointing users at logs on configure errors
eae1398d09 cmake --system-information: Stop dumping CMake{Output,Error}.log
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8094
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 8 | ||||
-rw-r--r-- | Source/cmake.cxx | 3 |
2 files changed, 0 insertions, 11 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index ed99dd7..5884823 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1360,14 +1360,6 @@ void cmGlobalGenerator::Configure() std::ostringstream msg; if (cmSystemTools::GetErrorOccurredFlag()) { msg << "Configuring incomplete, errors occurred!"; - const char* logs[] = { "CMakeOutput.log", "CMakeError.log", nullptr }; - for (const char** log = logs; *log; ++log) { - std::string f = cmStrCat(this->CMakeInstance->GetHomeOutputDirectory(), - "/CMakeFiles/", *log); - if (cmSystemTools::FileExists(f)) { - msg << "\nSee also \"" << f << "\"."; - } - } } else { auto ms = std::chrono::duration_cast<std::chrono::milliseconds>( endTime - startTime); diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 0d947a5..468ff73 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -2416,9 +2416,6 @@ int cmake::ActualConfigure() // info to save time if (!this->GetIsInTryCompile()) { this->GlobalGenerator->ClearEnabledLanguages(); - - this->TruncateOutputLog("CMakeOutput.log"); - this->TruncateOutputLog("CMakeError.log"); } #if !defined(CMAKE_BOOTSTRAP) |