Переглянути джерело

ENH: Document variable CMAKE_PATCH_VERSION

This adds documentation of CMAKE_PATCH_VERSION to the generated
variables documentation.
Brad King 17 роки тому
батько
коміт
004cdfe6ff
1 змінених файлів з 6 додано та 0 видалено
  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"
      "This specifies the minor version of the CMake"
      " executable being run.",false,
      " executable being run.",false,
      "Variables that Provide Information");
      "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
   cm->DefineProperty
     ("CMAKE_PARENT_LIST_FILE", cmProperty::VARIABLE,
     ("CMAKE_PARENT_LIST_FILE", cmProperty::VARIABLE,