mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
Explicitly enable deprecated warnings by default, via the cmake::GetSuppressDeprecatedWarnings method, which signals suppression is turned off unless the CMake variables are set as required. Add tests and update the documentation for the new functionality.
9 lines
164 B
CMake
9 lines
164 B
CMake
|
|
set(CMAKE_WARN_DEPRECATED OFF)
|
|
|
|
message(DEPRECATION "This is not issued")
|
|
|
|
set(CMAKE_SUPPRESS_DEVELOPER_WARNINGS ON)
|
|
|
|
message(AUTHOR_WARNING "This is not issued")
|