cmake/Help/variable/CMAKE_WARN_DEPRECATED.rst

12 lines
448 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_WARN_DEPRECATED
---------------------
2016-03-13 13:35:51 +01:00
Whether to issue warnings for deprecated functionality.
2014-08-03 19:52:23 +02:00
2016-03-13 13:35:51 +01:00
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
2022-11-16 20:14:03 +01:00
:option:`-Wdeprecated <cmake -Wdeprecated>` option, or disabled with the
:option:`-Wno-deprecated <cmake -Wno-deprecated>` option.