瀏覽代碼

CPackComponent: Document the *_HIDDEN and *_DISABLED variables

Nils Gladitz 9 年之前
父節點
當前提交
6f108f84d0
共有 1 個文件被更改,包括 9 次插入1 次删除
  1. 9 1
      Modules/CPackComponent.cmake

+ 9 - 1
Modules/CPackComponent.cmake

@@ -75,9 +75,17 @@
 #
 #  The dependencies (list of components) on which this component depends.
 #
+# .. variable:: CPACK_COMPONENT_<compName>_HIDDEN
+#
+#  True if this component is hidden from the user.
+#
 # .. variable:: CPACK_COMPONENT_<compName>_REQUIRED
 #
-#  True is this component is required.
+#  True if this component is required.
+#
+# .. variable:: CPACK_COMPONENT_<compName>_DISABLED
+#
+#  True if this component is not selected to be installed by default.
 #
 # .. command:: cpack_add_component
 #