summaryrefslogtreecommitdiffstats
path: root/Modules/CPackProductBuild.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CPackProductBuild.cmake')
-rw-r--r--Modules/CPackProductBuild.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/Modules/CPackProductBuild.cmake b/Modules/CPackProductBuild.cmake
index 4779b95..ee78d8d 100644
--- a/Modules/CPackProductBuild.cmake
+++ b/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