浏览代码

ENH: Make CMAKE_<LANG>_SIZEOF_DATA_PTR public

The variable was previously documented for internal-use only.  This
officially documents it for general use by projects.
Brad King 16 年之前
父节点
当前提交
ee43a12178
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      Source/cmDocumentVariables.cxx

+ 4 - 2
Source/cmDocumentVariables.cxx

@@ -1012,8 +1012,10 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
 
 
   cm->DefineProperty
   cm->DefineProperty
     ("CMAKE_<LANG>_SIZEOF_DATA_PTR", cmProperty::VARIABLE,
     ("CMAKE_<LANG>_SIZEOF_DATA_PTR", cmProperty::VARIABLE,
-     "An internal variable subject to change.",
-     "This is used in determining the architecture and is subject to change.",
+     "Size of pointer-to-data types for language <LANG>.",
+     "This holds the size (in bytes) of pointer-to-data types in the target "
+     "platform ABI.  "
+     "It is defined for languages C and CXX (C++).",
      false,
      false,
      "Variables for Languages");
      "Variables for Languages");