Add 'deprecated' warning options type, to allow setting CMAKE_WARN_DEPRECATED via the -W '-Wdeprecated' and '-Wno-deprecated' options. Add tests for new options and updated documentation.
11 lines
387 B
ReStructuredText
11 lines
387 B
ReStructuredText
CMAKE_WARN_DEPRECATED
|
|
---------------------
|
|
|
|
Whether to issue warnings for deprecated functionality.
|
|
|
|
If ``TRUE``, use of deprecated functionality will issue warnings.
|
|
If this variable is not set, CMake behaves as if it were set to ``FALSE``.
|
|
|
|
When running :manual:`cmake(1)`, this option can be enabled with the
|
|
``-Wdeprecated`` option, or disabled with the ``-Wno-deprecated`` option.
|