summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-04-23 14:20:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-04-23 14:20:34 (GMT)
commit152c636130491b2631395a89511544c0edfa8243 (patch)
treeaf1efc9e3db0da3eff265dd72f5a6892c46504b0 /Modules
parentb0610e4c95ae83b890f1a50a9578dd40de5fb57e (diff)
parent8e41d44b38e5200460da2bbdd0859ac43d72c33d (diff)
downloadCMake-152c636130491b2631395a89511544c0edfa8243.zip
CMake-152c636130491b2631395a89511544c0edfa8243.tar.gz
CMake-152c636130491b2631395a89511544c0edfa8243.tar.bz2
Merge topic 'productbuild_missing_var_docs'
8e41d44b38 Help: Document missing variables for productbuild CPack generator Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Clinton Stimpson <clinton@elemtech.com> Merge-request: !1995
Diffstat (limited to 'Modules')
-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