Browse Source

ENH: Document variable CMAKE_PATCH_VERSION

This adds documentation of CMAKE_PATCH_VERSION to the generated
variables documentation.
Brad King 17 years ago
parent
commit
004cdfe6ff
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Source/cmDocumentVariables.cxx

+ 6 - 0
Source/cmDocumentVariables.cxx

@@ -208,6 +208,12 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
      "This specifies the minor version of the CMake"
      " executable being run.",false,
      "Variables that Provide Information");
+  cm->DefineProperty
+    ("CMAKE_PATCH_VERSION", cmProperty::VARIABLE,
+     "The patch version of cmake (i.e. the 3 in X.X.3).",
+     "This specifies the patch version of the CMake"
+     " executable being run.",false,
+     "Variables that Provide Information");
 
   cm->DefineProperty
     ("CMAKE_PARENT_LIST_FILE", cmProperty::VARIABLE,