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.
13 lines
507 B
ReStructuredText
13 lines
507 B
ReStructuredText
cmake-W-options
|
|
---------------
|
|
|
|
* The :variable:`CMAKE_WARN_DEPRECATED` variable can now be set using the
|
|
``-Wdeprecated`` and ``-Wno-deprecated`` :manual:`cmake(1)` options.
|
|
|
|
* The ``-Wdev`` and ``-Wno-dev`` :manual:`cmake(1)` options now also enable
|
|
and suppress the deprecated warnings output by default.
|
|
|
|
* Warnings about deprecated functionality are now enabled by default.
|
|
They may be suppressed with ``-Wno-deprecated`` or by setting the
|
|
:variable:`CMAKE_WARN_DEPRECATED` variable to false.
|