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

-add docs for ${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME}

Alex
Alex Neundorf 13 лет назад
Родитель
Сommit
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,
      "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
     ("CMAKE_FIND_LIBRARY_PREFIXES",  cmProperty::VARIABLE,
      "Prefixes to prepend when looking for libraries.",