summaryrefslogtreecommitdiffstats
path: root/Modules/CPackProductBuild.cmake
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2018-04-21 02:49:19 (GMT)
committerCraig Scott <craig.scott@crascit.com>2018-04-21 02:49:19 (GMT)
commit8e41d44b38e5200460da2bbdd0859ac43d72c33d (patch)
tree1cd7e3c442799c3e99e3849b0cf73b9c2eba2026 /Modules/CPackProductBuild.cmake
parentfe0082875aeecead23b2351629abca4990dfba43 (diff)
downloadCMake-8e41d44b38e5200460da2bbdd0859ac43d72c33d.zip
CMake-8e41d44b38e5200460da2bbdd0859ac43d72c33d.tar.gz
CMake-8e41d44b38e5200460da2bbdd0859ac43d72c33d.tar.bz2
Help: Document missing variables for productbuild CPack generator
Missing variables were CPACK_PREFLIGHT_<COMP>_SCRIPT and CPACK_POSTFLIGHT_<COMP>_SCRIPT.
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