diff options
author | Brad King <brad.king@kitware.com> | 2023-03-31 12:03:05 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-03-31 12:03:58 (GMT) |
commit | 61681128e17509c5aa661cc825de0637c6cd306d (patch) | |
tree | 278bee37dcb1eb3b68a5b6ccf3c120b2a2eef81b /Source/cmMakefile.cxx | |
parent | 215990673118fb44d2c4377de83c87deb45cdd75 (diff) | |
parent | 8e579b0228ae410aa83a4c45f1fbb790c4a6cf12 (diff) | |
download | CMake-61681128e17509c5aa661cc825de0637c6cd306d.zip CMake-61681128e17509c5aa661cc825de0637c6cd306d.tar.gz CMake-61681128e17509c5aa661cc825de0637c6cd306d.tar.bz2 |
Merge topic 'presets-add-trace'
8e579b0228 presets: Add trace options to configure presets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8254
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index fc82c14..3a69b2e 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -340,7 +340,7 @@ void cmMakefile::PrintCommandTrace(cmListFileFunction const& lff, cm::optional<std::string> const& deferId = bt.Top().DeferId; switch (this->GetCMakeInstance()->GetTraceFormat()) { - case cmake::TraceFormat::TRACE_JSON_V1: { + case cmake::TraceFormat::JSONv1: { #ifndef CMAKE_BOOTSTRAP Json::Value val; Json::StreamWriterBuilder builder; @@ -367,7 +367,7 @@ void cmMakefile::PrintCommandTrace(cmListFileFunction const& lff, #endif break; } - case cmake::TraceFormat::TRACE_HUMAN: + case cmake::TraceFormat::Human: msg << full_path << "(" << lff.Line() << "):"; if (deferId) { msg << "DEFERRED:" << *deferId << ":"; @@ -379,8 +379,8 @@ void cmMakefile::PrintCommandTrace(cmListFileFunction const& lff, } msg << ")"; break; - case cmake::TraceFormat::TRACE_UNDEFINED: - msg << "INTERNAL ERROR: Trace format is TRACE_UNDEFINED"; + case cmake::TraceFormat::Undefined: + msg << "INTERNAL ERROR: Trace format is Undefined"; break; } |