mirror of
https://github.com/reactos/CMake.git
synced 2025-02-12 23:19:13 +00:00
![Michael Scott](/assets/img/avatar_default.png)
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")
|