[cmake-commits] martink committed cpack.cxx 1.35 1.36

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Oct 9 09:55:44 EDT 2007


Update of /cvsroot/CMake/CMake/Source/CPack
In directory public:/mounts/ram/cvs-serv24030/Source/CPack

Modified Files:
	cpack.cxx 
Log Message:
ENH: make documentation entries actually store their data


Index: cpack.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CPack/cpack.cxx,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- cpack.cxx	3 Aug 2007 19:26:30 -0000	1.35
+++ cpack.cxx	9 Oct 2007 13:55:42 -0000	1.36
@@ -33,30 +33,30 @@
 //----------------------------------------------------------------------------
 static const cmDocumentationEntry cmDocumentationName[] =
 {
-  {0,
-   "  cpack - Packaging driver provided by CMake.", 0},
-  {0,0,0}
+  {"",
+   "  cpack - Packaging driver provided by CMake.", ""},
+  {"","",""}
 };
 
 //----------------------------------------------------------------------------
 static const cmDocumentationEntry cmDocumentationUsage[] =
 {
-  {0,
+  {"",
    "  cpack -G <generator> [options]",
-   0},
-  {0,0,0}
+   ""},
+  {"","",""}
 };
 
 //----------------------------------------------------------------------------
 static const cmDocumentationEntry cmDocumentationDescription[] =
 {
-  {0,
+  {"",
    "The \"cpack\" executable is the CMake packaging program.  "
    "CMake-generated build trees created for projects that use "
    "the INSTALL_* commands have packaging support.  "
-   "This program will generate the package.", 0},
+   "This program will generate the package.", ""},
   CMAKE_STANDARD_INTRODUCTION,
-  {0,0,0}
+  {"","",""}
 };
 
 //----------------------------------------------------------------------------
@@ -75,15 +75,15 @@
     {"--config <config file>", "Specify the config file.",
     "Specify the config file to use to create the package. By default "
       "CPackConfig.cmake in the current directory will be used." },
-    {0,0,0}
+    {"","",""}
 };
 
 //----------------------------------------------------------------------------
 static const cmDocumentationEntry cmDocumentationSeeAlso[] =
 {
-    {0, "cmake", 0},
-    {0, "ccmake", 0},
-    {0, 0, 0}
+    {"", "cmake", ""},
+    {"", "ccmake", ""},
+    {"", "", ""}
 };
 
 //----------------------------------------------------------------------------
@@ -464,7 +464,7 @@
       e.full = "";
       v.push_back(e);
       }
-    cmDocumentationEntry empty = {0,0,0};
+    cmDocumentationEntry empty = {"","",""};
     v.push_back(empty);
     doc.SetGeneratorsSection(&v[0]);
 



More information about the Cmake-commits mailing list