diff options
author | Brad King <brad.king@kitware.com> | 2022-05-10 14:30:31 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-05-10 14:30:42 (GMT) |
commit | 79b64690d9ccb8b6a3feac8e6600e7c7e7dcc33a (patch) | |
tree | 78edc69b3a1b9d7d607d7ffa88951b15d6a828a4 /Help/release | |
parent | 54c3563e951edf70f4fa4fe310cbed21f5412a56 (diff) | |
parent | 76a08cd25332b74627802df8817068219b89161d (diff) | |
download | CMake-79b64690d9ccb8b6a3feac8e6600e7c7e7dcc33a.zip CMake-79b64690d9ccb8b6a3feac8e6600e7c7e7dcc33a.tar.gz CMake-79b64690d9ccb8b6a3feac8e6600e7c7e7dcc33a.tar.bz2 |
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
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/werror-property.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/release/dev/werror-property.rst b/Help/release/dev/werror-property.rst new file mode 100644 index 0000000..c337df7 --- /dev/null +++ b/Help/release/dev/werror-property.rst @@ -0,0 +1,8 @@ +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. |