summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-11 20:02:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-11 20:02:10 (GMT)
commitb5cebc00f7a4ebc28a903f056fab2b0a799f1ad3 (patch)
treeaebb1092ea29d2ffef50a161c77ecbd9b48e3910 /Source
parenta547ff61cd42d45eb68cbc7fd62a0d1ec79749d8 (diff)
downloadCMake-b5cebc00f7a4ebc28a903f056fab2b0a799f1ad3.zip
CMake-b5cebc00f7a4ebc28a903f056fab2b0a799f1ad3.tar.gz
CMake-b5cebc00f7a4ebc28a903f056fab2b0a799f1ad3.tar.bz2
ENH: fix -Wno-dev for ccmake
Diffstat (limited to 'Source')
-rw-r--r--Source/cmake.h9
-rw-r--r--Source/cmakemain.cxx6
2 files changed, 8 insertions, 7 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index b8ca27f..3670b4a 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -471,7 +471,14 @@ private:
"CMake may support multiple native build systems on certain platforms. " \
"A makefile generator is responsible for generating a particular build " \
"system. Possible generator names are specified in the Generators " \
- "section."}
+ "section."},\
+ {"-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."}
+
#define CMAKE_STANDARD_INTRODUCTION \
{0, \
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 51585ae..7f291c5 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -81,12 +81,6 @@ 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.",