MCPcopy Create free account
hub / github.com/Kitware/CMake / WriteTryCompileEvent

Function WriteTryCompileEvent

Source/cmTryCompileCommand.cxx:21–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace {
20#ifndef CMAKE_BOOTSTRAP
21void WriteTryCompileEvent(cmConfigureLog& log, cmMakefile const& mf,
22 cmTryCompileResult const& compileResult)
23{
24 // Keep in sync with cmFileAPIConfigureLog's DumpEventKindNames.
25 static std::vector<unsigned int> const LogVersionsWithTryCompileV1{ 1 };
26
27 if (log.IsAnyLogVersionEnabled(LogVersionsWithTryCompileV1)) {
28 log.BeginEvent("try_compile-v1", mf);
29 cmCoreTryCompile::WriteTryCompileEventFields(log, compileResult);
30 log.EndEvent();
31 }
32}
33#endif
34}
35

Callers 1

cmTryCompileCommandFunction · 0.85

Calls 3

BeginEventMethod · 0.80
EndEventMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…