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/manual/cmake.1.rst | |
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/manual/cmake.1.rst')
-rw-r--r-- | Help/manual/cmake.1.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 3ef7b3f..bf51db1 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -426,6 +426,11 @@ Options in :variable:`CMAKE_SOURCE_DIR` and :variable:`CMAKE_BINARY_DIR`. This flag tells CMake to warn about other files as well. +``--compile-no-warning-as-error`` + Ignore target property :prop_tgt:`COMPILE_WARNING_AS_ERROR` and variable + :variable:`CMAKE_COMPILE_WARNING_AS_ERROR`, preventing warnings from being + treated as errors on compile. + ``--profiling-output=<path>`` Used in conjunction with ``--profiling-format`` to output to a given path. |