mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 14:27:23 +00:00
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.
11 lines
391 B
ReStructuredText
11 lines
391 B
ReStructuredText
CMAKE_WARN_DEPRECATED
|
|
---------------------
|
|
|
|
Whether to issue warnings for deprecated functionality.
|
|
|
|
If not ``FALSE``, use of deprecated functionality will issue warnings.
|
|
If this variable is not set, CMake behaves as if it were set to ``TRUE``.
|
|
|
|
When running :manual:`cmake(1)`, this option can be enabled with the
|
|
``-Wdeprecated`` option, or disabled with the ``-Wno-deprecated`` option.
|