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

Function WriteMessageEvent

Source/cmMessageCommand.cxx:68–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66namespace {
67#ifndef CMAKE_BOOTSTRAP
68void WriteMessageEvent(cmConfigureLog& log, cmMakefile const& mf,
69 std::string const& message)
70{
71 // Keep in sync with cmFileAPIConfigureLog's DumpEventKindNames.
72 static std::vector<unsigned int> const LogVersionsWithMessageV1{ 1 };
73
74 if (log.IsAnyLogVersionEnabled(LogVersionsWithMessageV1)) {
75 log.BeginEvent("message-v1", mf);
76 log.WriteLiteralTextBlock("message"_s, message);
77 log.EndEvent();
78 }
79}
80#endif
81}
82

Callers 1

cmMessageCommandFunction · 0.85

Calls 4

BeginEventMethod · 0.80
EndEventMethod · 0.80
WriteLiteralTextBlockMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…