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 /Source/cmakemain.cxx | |
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 'Source/cmakemain.cxx')
-rw-r--r-- | Source/cmakemain.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 96bf845..19ac6ca 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -110,6 +110,9 @@ const char* cmDocumentationOptions[][2] = { { "--check-system-vars", "Find problems with variable usage in system " "files." }, + { "--compile-no-warning-as-error", + "Ignore COMPILE_WARNING_AS_ERROR property and " + "CMAKE_COMPILE_WARNING_AS_ERROR variable." }, # if !defined(CMAKE_BOOTSTRAP) { "--profiling-format=<fmt>", "Output data for profiling CMake scripts. Supported formats: " |