CMake/Tests/RunCMake/message/warnmessage.cmake

9 lines
181 B
CMake

set(CMAKE_WARN_DEPRECATED ON)
message(DEPRECATION "This is a deprecation warning")
set(CMAKE_SUPPRESS_DEVELOPER_WARNINGS OFF)
message(AUTHOR_WARNING "This is a author warning")