mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 13:18:37 -06:00
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:
9
Help/variable/CMAKE_COMPILE_WARNING_AS_ERROR.rst
Normal file
9
Help/variable/CMAKE_COMPILE_WARNING_AS_ERROR.rst
Normal 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.
|
||||
Reference in New Issue
Block a user