In CMake, the message() command is used to print text to the console during the CMake configure step. This can be useful for displaying information or debugging messages while the CMake script is running. The syntax for using message() is:
message([<mode>] "message to display")
The <mode> parameter is optional and can be used to specify the type of message being displayed, such as STATUS, WARNING, AUTHOR_WARNING, SEND_ERROR, or FATAL_ERROR.