werror-property.rst 620 B

12345678910111213
  1. werror-property
  2. ---------------
  3. * Added the Target Property :prop_tgt:`COMPILE_WARNING_AS_ERROR` and the
  4. Variable :variable:`CMAKE_COMPILE_WARNING_AS_ERROR` which initializes the
  5. Target Property. If :prop_tgt:`COMPILE_WARNING_AS_ERROR` is true, it expands
  6. to a different flag depending on the compiler such that any warnings at
  7. compile will be treated as errors.
  8. * :manual:`cmake(1)` gained the command-line option
  9. ``--compile-no-warning-as-error`` which causes the values of
  10. the :prop_tgt:`COMPILE_WARNING_AS_ERROR` target property and
  11. :variable:`CMAKE_COMPILE_WARNING_AS_ERROR` variable to be ignored.