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

Function ReportCheckResult

Source/cmMessageCommand.cxx:51–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void ReportCheckResult(cm::string_view what, std::string result,
52 cmMakefile& mf)
53{
54 if (mf.GetCMakeInstance()->HasCheckInProgress()) {
55 auto text = mf.GetCMakeInstance()->GetTopCheckInProgressMessage() + " - " +
56 std::move(result);
57 mf.DisplayStatus(IndentText(std::move(text), mf), -1);
58 } else {
59 mf.GetMessenger()->DisplayMessage(
60 MessageType::AUTHOR_WARNING,
61 cmStrCat("Ignored "_s, what, " without CHECK_START"_s),
62 mf.GetBacktrace());
63 }
64}
65
66namespace {
67#ifndef CMAKE_BOOTSTRAP

Callers 1

cmMessageCommandFunction · 0.85

Calls 10

moveFunction · 0.85
IndentTextFunction · 0.85
HasCheckInProgressMethod · 0.80
DisplayStatusMethod · 0.80
DisplayMessageMethod · 0.80
cmStrCatFunction · 0.70
GetCMakeInstanceMethod · 0.45
GetMessengerMethod · 0.45
GetBacktraceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…