mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Change the '-Wdev' and '-Wno-dev' options to also enable and suppress the deprecated warnings output, via the 'CMAKE_WARN_DEPRECATED' CMake variable, by default. This action does not happen if the user specifies a deprecated warning message option. Add tests and update the documentation for the new functionality.
9 lines
313 B
ReStructuredText
9 lines
313 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.
|