Display a message to the user.
message([<mode>] "message to display" ...)
The optional <mode> keyword determines the type of message:
FATAL_ERROR SEND_ERROR WARNING AUTHOR_WARNING DEPRECATION CMAKE_ERROR_DEPRECATED or CMAKE_WARN_DEPRECATED is enabled, respectively, else no message.(none) or NOTICE STATUS VERBOSE DEBUG TRACE The CMake command-line tool displays STATUS to TRACE messages on stdout with the message preceded by two hyphens and a space. All other message types are sent to stderr and are not prefixed with hyphens. The CMake GUI displays all messages in its log area. The curses interface shows STATUS to TRACE messages one at a time on a status line and other messages in an interactive pop-up box. The --loglevel command-line option to each of these tools can be used to control which messages will be shown.
CMake Warning and Error message text displays using a simple markup language. Non-indented text is formatted in line-wrapped paragraphs delimited by newlines. Indented text is considered pre-formatted.
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.15/command/message.html