summaryrefslogtreecommitdiff
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-16 17:57:56 -0500
committerBrad King <brad.king@kitware.com>2023-01-19 13:27:51 -0500
commit317aac14efde7c8026c40b154cab237ceee4d0b0 (patch)
tree5900c0b7ddf6ceba9e1f8938dba8b9076e96c49d /Source/cmake.cxx
parenteae1398d09e3d9f06c94213d0203b533c111606a (diff)
downloadcmake-317aac14efde7c8026c40b154cab237ceee4d0b0.tar.gz
cmake: Stop pointing users at logs on configure errors
Since commit 18e1bfbb3c (cmake: On configure error suggest looking at CMake*.log files, 2013-07-09, v2.8.12~210^2), when configuring a project fails, we print `See also .../CMake{Output,Error}.log` near the end of the output. This was intended to help users find failures in system and compiler inspection checks, but for normal project errors the messages may be misleading. The logs may contain incidental errors that are part of normal operation and do not need to be addressed by the user. Since commit f6ed2585e5 (Modules: Record system inspection steps in the configure log, 2023-01-16), CMake's builtin modules no longer log information to the old-style `CMake{Output,Error}.log` files anyway, so stop mentioning them. Fixes: #22131 Issue: #23200
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 0d947a5c1a..468ff73aeb 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)