summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_WARN_DEPRECATED.rst
blob: c7b615938eda5a823b7762f8d323ee5d1032fa39 (plain)
1
2
3
4
5
6
7
8
9
10
11
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
:option:`-Wdeprecated <cmake -Wdeprecated>` option, or disabled with the
:option:`-Wno-deprecated <cmake -Wno-deprecated>` option.