CMake Getting Started Tutorial [Basic] 6. message printing

message print information log

knowledge points

信息
  message([<mode>] "message text" ...)

检查
  message(<checkState> "message text" ...)

配置日志
  message(CONFIGURE_LOG <text>...)

information

  • FATAL_ERROR

CMake error, stopping processing and building.

  • SEND_ERROR

CMake error, continue processing, but skip build.

  • WARNING

Issue a warning, continue processing.

  • AUTHOR_WARNING

If the variable CMake_Error_DEPRECATED or CMake_

Guess you like

Origin blog.csdn.net/hiwoshixiaoyu/article/details/130003211