Merge topic 'werror-property'

76a08cd253 COMPILE_WARNING_AS_ERROR: Add options to treat warnings as errors

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Michael Hirsch <michael@scivision.dev>
Merge-request: !7187
This commit is contained in:
Brad King
2022-05-10 14:30:31 +00:00
committed by Kitware Robot
33 changed files with 167 additions and 27 deletions

View File

@@ -0,0 +1,9 @@
CMAKE_COMPILE_WARNING_AS_ERROR
------------------------------
.. versionadded:: 3.24
Specify whether to treat warnings on compile as errors.
This variable is used to initialize the
:prop_tgt:`COMPILE_WARNING_AS_ERROR` property on all the targets.