summaryrefslogtreecommitdiffstats
path: root/Source/cmTryRunCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-12-12 22:59:41 (GMT)
committerBrad King <brad.king@kitware.com>2022-12-17 13:52:04 (GMT)
commitd811d86fd7f9644876e9d3605937edffa5c8a9d8 (patch)
tree7359c796a0ec5bf273eedd924a2753980176cc8d /Source/cmTryRunCommand.cxx
parent02599da236fd22db0dcfb6503194e5bad086aea9 (diff)
downloadCMake-d811d86fd7f9644876e9d3605937edffa5c8a9d8.zip
CMake-d811d86fd7f9644876e9d3605937edffa5c8a9d8.tar.gz
CMake-d811d86fd7f9644876e9d3605937edffa5c8a9d8.tar.bz2
FileAPI: Add "configureLog" object kind
Provide clients with a way to get a known set of configure log event versions. Issue: #23200
Diffstat (limited to 'Source/cmTryRunCommand.cxx')
-rw-r--r--Source/cmTryRunCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx
index 63e4478..86c9679 100644
--- a/Source/cmTryRunCommand.cxx
+++ b/Source/cmTryRunCommand.cxx
@@ -40,6 +40,7 @@ void WriteTryRunEvent(cmConfigureLog& log, cmMakefile const& mf,
cmTryCompileResult const& compileResult,
cmTryRunResult const& runResult)
{
+ // Keep in sync with cmFileAPIConfigureLog's DumpEventKindNames.
static const std::vector<unsigned long> LogVersionsWithTryRunV1{ 1 };
if (log.IsAnyLogVersionEnabled(LogVersionsWithTryRunV1)) {