summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-20 15:43:02 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2017-02-20 15:43:02 (GMT)
commit5d17b68c675e0d05cd45835f366c62119ec7d7c8 (patch)
tree4242efb4461933e2e61063f5f402ab4b8f2bb89b /Modules
parent168420f35cbcbd1ef0b2d24f3b254064e21c018e (diff)
parent734581f49fc0eac4c49e941c0cc450a04c866896 (diff)
downloadCMake-5d17b68c675e0d05cd45835f366c62119ec7d7c8.zip
CMake-5d17b68c675e0d05cd45835f366c62119ec7d7c8.tar.gz
CMake-5d17b68c675e0d05cd45835f366c62119ec7d7c8.tar.bz2
Merge topic 'productbuild_resources'
734581f4 CPack: Add support for CPACK_PRODUCTBULID_RESOURCES_DIR
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CPackProductBuild.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/CPackProductBuild.cmake b/Modules/CPackProductBuild.cmake
index d545d3e..4779b95 100644
--- a/Modules/CPackProductBuild.cmake
+++ b/Modules/CPackProductBuild.cmake
@@ -46,3 +46,11 @@
#
# Specify a specific keychain to search for the signing identity.
#
+#
+# .. variable:: CPACK_PRODUCTBUILD_RESOURCES_DIR
+#
+# If specified the productbuild generator copies files from this directory
+# (including subdirectories) to the ``Resources`` directory. This is done
+# before the :variable:`CPACK_RESOURCE_FILE_WELCOME`,
+# :variable:`CPACK_RESOURCE_FILE_README`, and
+# :variable:`CPACK_RESOURCE_FILE_LICENSE` files are copied.