summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/werror-property.rst
blob: 84c825fb96963c6bf2aebbb3b31d2da955e484f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
werror-property
---------------

* Added the Target Property :prop_tgt:`COMPILE_WARNING_AS_ERROR` and the
  Variable :variable:`CMAKE_COMPILE_WARNING_AS_ERROR` which initializes the
  Target Property. If :prop_tgt:`COMPILE_WARNING_AS_ERROR` is true, it expands
  to a different flag depending on the compiler such that any warnings at
  compile will be treated as errors.

* :manual:`cmake(1)` gained the command-line option
  ``--compile-no-warning-as-error`` which causes the values of
  the :prop_tgt:`COMPILE_WARNING_AS_ERROR` target property and
  :variable:`CMAKE_COMPILE_WARNING_AS_ERROR` variable to be ignored.