summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.",