Browse Source

Help: Document missing variables for productbuild CPack generator

Missing variables were CPACK_PREFLIGHT_<COMP>_SCRIPT
and CPACK_POSTFLIGHT_<COMP>_SCRIPT.
Craig Scott 7 years ago
parent
commit
8e41d44b38
1 changed files with 16 additions and 0 deletions
  1. 16 0
      Modules/CPackProductBuild.cmake

+ 16 - 0
Modules/CPackProductBuild.cmake

@@ -47,6 +47,22 @@
 #  Specify a specific keychain to search for the signing identity.
 #
 #
+# .. variable:: CPACK_PREFLIGHT_<COMP>_SCRIPT
+#
+#  Full path to a file that will be used as the ``preinstall`` script for the
+#  named ``<COMP>`` component's package, where ``<COMP>`` is the uppercased
+#  component name.  No ``preinstall`` script is added if this variable is not
+#  defined for a given component.
+#
+#
+# .. variable:: CPACK_POSTFLIGHT_<COMP>_SCRIPT
+#
+#  Full path to a file that will be used as the ``postinstall`` script for the
+#  named ``<COMP>`` component's package, where ``<COMP>`` is the uppercased
+#  component name.  No ``postinstall`` script is added if this variable is not
+#  defined for a given component.
+#
+#
 # .. variable:: CPACK_PRODUCTBUILD_RESOURCES_DIR
 #
 #  If specified the productbuild generator copies files from this directory