Просмотр исходного кода

ENH: Document variable CMAKE_PATCH_VERSION

This adds documentation of CMAKE_PATCH_VERSION to the generated
variables documentation.
Brad King 17 лет назад
Родитель
Сommit
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"
      " 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,