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

Method IssueMessage

Source/cmMessenger.cxx:188–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void cmMessenger::IssueMessage(MessageType t, std::string const& text,
189 cmListFileBacktrace const& backtrace) const
190{
191 bool force = false;
192 // override the message type, if needed, for warnings and errors
193 MessageType override = this->ConvertMessageType(t);
194 if (override != t) {
195 t = override;
196 force = true;
197 }
198
199 if (force || this->IsMessageTypeVisible(t)) {
200 this->DisplayMessage(t, text, backtrace);
201 }
202}
203
204void cmMessenger::DisplayMessage(MessageType t, std::string const& text,
205 cmListFileBacktrace const& backtrace) const

Callers

nothing calls this directly

Calls 3

ConvertMessageTypeMethod · 0.95
IsMessageTypeVisibleMethod · 0.95
DisplayMessageMethod · 0.95

Tested by

no test coverage detected