diff options
author | Brad King <brad.king@kitware.com> | 2023-01-30 15:37:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-02-01 14:32:42 (GMT) |
commit | 0a48d8fe5ccf8a44bcada7b528f4cf4dd591b18e (patch) | |
tree | 70ea637df099d555b01e8e73c9935563d0ea5c22 /Source/cmTryCompileCommand.cxx | |
parent | e86bebfd146c07d3a5eb34f9f35e133b6c3b805c (diff) | |
download | CMake-0a48d8fe5ccf8a44bcada7b528f4cf4dd591b18e.zip CMake-0a48d8fe5ccf8a44bcada7b528f4cf4dd591b18e.tar.gz CMake-0a48d8fe5ccf8a44bcada7b528f4cf4dd591b18e.tar.bz2 |
ConfigureLog: De-duplicate event backtrace and check key generation
All event kinds have these fields, so centralize their implementation.
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r-- | Source/cmTryCompileCommand.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index 789ffe9..d2cc75b 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -25,9 +25,7 @@ void WriteTryCompileEvent(cmConfigureLog& log, cmMakefile const& mf, static const std::vector<unsigned long> LogVersionsWithTryCompileV1{ 1 }; if (log.IsAnyLogVersionEnabled(LogVersionsWithTryCompileV1)) { - log.BeginEvent("try_compile-v1"); - log.WriteBacktrace(mf); - log.WriteChecks(mf); + log.BeginEvent("try_compile-v1", mf); cmCoreTryCompile::WriteTryCompileEventFields(log, compileResult); log.EndEvent(); } |