diff --git a/Source/cmake.h b/Source/cmake.h index b8ca27f86..3670b4a20 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 51585ae97..7f291c550 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 ", "Process script mode.",