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

STYLE: document CMAKE_SKIP_INSTALL_ALL_DEPENDENCY variable

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

+ 13 - 0
Source/cmDocumentVariables.cxx

@@ -456,6 +456,19 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
      " on UNIX and c:/Program Files on Windows.",false,
      "Variables That Change Behavior");
 
+  cm->DefineProperty
+    ("CMAKE_SKIP_INSTALL_ALL_DEPENDENCY", cmProperty::VARIABLE,
+     "Don't make the install target depend on the all target.",
+     "By default, the \"install\" target depends on the \"all\" target. "
+     "This has the effect, that when \"make install\" is invoked or INSTALL "
+     "is built, first the \"all\" target is built, then the installation "
+     "starts. "
+     "If CMAKE_SKIP_INSTALL_ALL_DEPENDENCY is set to TRUE, this dependency "
+     "is not created, so the installation process will start immediately, "
+     "independent from whether the project has been completely built or not."
+     ,false,
+     "Variables That Change Behavior");
+
   cm->DefineProperty
     ("CMAKE_MODULE_PATH", cmProperty::VARIABLE,
      "Path to look for cmake modules to load.",