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/prop_tgt | |
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/prop_tgt')
-rw-r--r-- | Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst b/Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst new file mode 100644 index 0000000..86a0f7f --- /dev/null +++ b/Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst @@ -0,0 +1,10 @@ +COMPILE_WARNING_AS_ERROR +------------------------ + +.. versionadded:: 3.24 + +Specify whether to treat warnings on compile as errors. +If enabled, adds a flag to treat warnings on compile as errors. + +This property is initialized by the value of the variable +:variable:`CMAKE_COMPILE_WARNING_AS_ERROR` if it is set when a target is created. |