summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-11 19:17:58 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-11 19:17:58 (GMT)
commita547ff61cd42d45eb68cbc7fd62a0d1ec79749d8 (patch)
treebf40ce43d5317162ae02eed7abc3f1c16218a105 /Source/cmakemain.cxx
parent5d2b90097dda987fafb08f7e97a86cf9fab0225f (diff)
downloadCMake-a547ff61cd42d45eb68cbc7fd62a0d1ec79749d8.zip
CMake-a547ff61cd42d45eb68cbc7fd62a0d1ec79749d8.tar.gz
CMake-a547ff61cd42d45eb68cbc7fd62a0d1ec79749d8.tar.bz2
ENH: add a way to suppress the new policy warnings, still need ccmake and gui's
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 7f291c5..51585ae 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -81,6 +81,12 @@ static const char * cmDocumentationOptions[][3] =
"variables being created. If A is specified, then it will display also "
"advanced variables. If H is specified, it will also display help for "
"each variable."},
+ {"-Wno-dev", "Suppress developer warnings.",
+ "Suppress warnings that are meant for the author"
+ " of the CMakeLists.txt files."},
+ {"-Wdev", "Enable developer warnings.",
+ "Enable warnings that are meant for the author"
+ " of the CMakeLists.txt files."},
{"-N", "View mode only.",
"Only load the cache. Do not actually run configure and generate steps."},
{"-P <file>", "Process script mode.",