diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-11 20:02:10 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-11 20:02:10 (GMT) |
commit | b5cebc00f7a4ebc28a903f056fab2b0a799f1ad3 (patch) | |
tree | aebb1092ea29d2ffef50a161c77ecbd9b48e3910 /Source | |
parent | a547ff61cd42d45eb68cbc7fd62a0d1ec79749d8 (diff) | |
download | CMake-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.h | 9 | ||||
-rw-r--r-- | Source/cmakemain.cxx | 6 |
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.", |