summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-19 13:43:46 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-05-19 13:43:53 (GMT)
commit758756d1ba5a1fcb6b6caf7bb8ad93c406e2b062 (patch)
tree03fb2166801c5b7e578ec92100706b5e18ec976c /Source/cmakemain.cxx
parentf808b19020b3225b314a74fa3be65ea74b3c024f (diff)
parent65f7053d6c5a0d256691e156a22cc0e9f31a4d5a (diff)
downloadCMake-758756d1ba5a1fcb6b6caf7bb8ad93c406e2b062.zip
CMake-758756d1ba5a1fcb6b6caf7bb8ad93c406e2b062.tar.gz
CMake-758756d1ba5a1fcb6b6caf7bb8ad93c406e2b062.tar.bz2
Merge topic 'ignore-werror-command-arg'
65f7053d6c COMPILE_WARNING_AS_ERROR: Add command-line option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7268
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 41c6c12..19b922b 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -111,6 +111,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: "