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

-add docs for ${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME}

Alex
Alex Neundorf 13 роки тому
батько
коміт
b71e731b9b
1 змінених файлів з 10 додано та 0 видалено
  1. 10 0
      Source/cmDocumentVariables.cxx

+ 10 - 0
Source/cmDocumentVariables.cxx

@@ -522,6 +522,16 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
      false,
      false,
      "Variables That Change Behavior");
      "Variables That Change Behavior");
 
 
+    cm->DefineProperty
+    ("CMAKE_INSTALL_DEFAULT_COMPONENT_NAME",  cmProperty::VARIABLE,
+     "Default component used in install() commands.",
+     "If an install() command is used without the COMPONENT argument, "
+     "these files will be grouped into a default component. The name of this "
+     "default install component will be taken from this variable.  "
+     "It defaults to \"Unspecified\". ",
+     false,
+     "Variables That Change Behavior");
+
     cm->DefineProperty
     cm->DefineProperty
     ("CMAKE_FIND_LIBRARY_PREFIXES",  cmProperty::VARIABLE,
     ("CMAKE_FIND_LIBRARY_PREFIXES",  cmProperty::VARIABLE,
      "Prefixes to prepend when looking for libraries.",
      "Prefixes to prepend when looking for libraries.",