05-cmake語法-message()


輸出錯誤

message(FATAL_ERROR "
FATAL: In-source builds are not allowed.
       You should create a separate directory for build files.
")  

FATAL_ERROR 是錯誤關鍵字。

 

輸出警告

message(WARNING "OpenCV requires Android SDK tools revision 14 or newer. Otherwise tests and samples will no be compiled.")

WARNING 是警告關鍵字。

  

輸出正常

message(STATUS "Can't detect runtime and/or arch")

STATUS

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM