aac633d5e5
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")
|