1 2 3 4 5 6 7 8
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")