diff options
author | Brad King <brad.king@kitware.com> | 2023-01-16 19:32:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-01-18 16:37:11 (GMT) |
commit | a78cba51978fbc805993604767c1902a249482ff (patch) | |
tree | b4df0181bf56b68135e52c3745f60ab10c9d229c /Source/cmFileAPIConfigureLog.cxx | |
parent | 645671d36f5cf0fa411d98a637f4edbc3d896c57 (diff) | |
download | CMake-a78cba51978fbc805993604767c1902a249482ff.zip CMake-a78cba51978fbc805993604767c1902a249482ff.tar.gz CMake-a78cba51978fbc805993604767c1902a249482ff.tar.bz2 |
message: Add CONFIGURE_LOG mode to record a message in the configure log
Provide a replacement for `file(APPEND .../CMake{Output,Error}.log)`
that records messages in the configure log.
Issue: #23200
Diffstat (limited to 'Source/cmFileAPIConfigureLog.cxx')
-rw-r--r-- | Source/cmFileAPIConfigureLog.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmFileAPIConfigureLog.cxx b/Source/cmFileAPIConfigureLog.cxx index 50189cb..ad0997c 100644 --- a/Source/cmFileAPIConfigureLog.cxx +++ b/Source/cmFileAPIConfigureLog.cxx @@ -52,6 +52,7 @@ Json::Value ConfigureLog::DumpEventKindNames() // major version of the configureLog object kind is needed. Json::Value eventKindNames = Json::arrayValue; if (this->Version == 1) { + eventKindNames.append("message-v1"); // WriteMessageEvent eventKindNames.append("try_compile-v1"); // WriteTryCompileEvent eventKindNames.append("try_run-v1"); // WriteTryRunEvent } |