[CMake] Need info on how cmake messages output is formatted
Mateusz Loskot
mateusz at loskot.net
Fri Sep 7 14:48:27 EDT 2018
On Fri, 7 Sep 2018 at 20:08, Martin Weber <fifteenknots505 at gmail.com> wrote:
> Any pointers to cmake sources are also welcome.
AFAIC, the message is printed via
cmMessenger::DisplayMessage
called by
cmMessenger::IssueMessage
which is typically called by
cmake::IssueMessage
So, searching the CMake sources for
invocations of ->IssueMessage
and uses of cmake::MessageType and its members eg. cmake::FATAL_ERROR
may help to collect a picture on how messages are composed.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the CMake
mailing list