summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/cmake-W-options.rst
blob: c0b51d0d75f5bbbcf708b8991f818e3639ec2e13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
cmake-W-options
---------------

* The :variable:`CMAKE_ERROR_DEPRECATED` variable can now be set using the
  ``-Werror=deprecated`` and ``-Wno-error=deprecated`` :manual:`cmake(1)`
  options.

* The :variable:`CMAKE_WARN_DEPRECATED` variable can now be set using the
  ``-Wdeprecated`` and ``-Wno-deprecated`` :manual:`cmake(1)` options.

* :manual:`cmake(1)` gained options ``-Werror=dev`` and ``-Wno-error=dev``
  to control whether developer warnings intended for project authors
  are treated as errors.