diff options
author | Martin Duffy <martin.duffy@kitware.com> | 2022-05-16 21:27:37 (GMT) |
---|---|---|
committer | Martin Duffy <martin.duffy@kitware.com> | 2022-05-18 14:30:30 (GMT) |
commit | 65f7053d6c5a0d256691e156a22cc0e9f31a4d5a (patch) | |
tree | a29446f47f180b036e0d72041ce78b6d47e23f0b /Help/release | |
parent | 76a08cd25332b74627802df8817068219b89161d (diff) | |
download | CMake-65f7053d6c5a0d256691e156a22cc0e9f31a4d5a.zip CMake-65f7053d6c5a0d256691e156a22cc0e9f31a4d5a.tar.gz CMake-65f7053d6c5a0d256691e156a22cc0e9f31a4d5a.tar.bz2 |
COMPILE_WARNING_AS_ERROR: Add command-line option
Add command-line option `--compile-no-warning-as-error` to ignore value of
`COMPILE_WARNING_AS_ERROR`.
Issue: #19085
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/werror-property.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/release/dev/werror-property.rst b/Help/release/dev/werror-property.rst index c337df7..84c825f 100644 --- a/Help/release/dev/werror-property.rst +++ b/Help/release/dev/werror-property.rst @@ -6,3 +6,8 @@ werror-property 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. + +* :manual:`cmake(1)` gained the command-line option + ``--compile-no-warning-as-error`` which causes the values of + the :prop_tgt:`COMPILE_WARNING_AS_ERROR` target property and + :variable:`CMAKE_COMPILE_WARNING_AS_ERROR` variable to be ignored. |