CMake入门教程【基础篇】6.message打印

message打印信息日志

知识点

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

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

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

信息

  • FATAL_ERROR

CMake错误,停止处理和生成。

  • SEND_ERROR

CMake错误,继续处理,但跳过生成。

  • WARNING

发出警告,继续处理。

  • AUTHOR_WARNING

如果变量CMake_Error_DEPRECATED或CMake_

猜你喜欢

转载自blog.csdn.net/hiwoshixiaoyu/article/details/130003211