summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-01-17 13:32:48 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-17 13:33:01 (GMT)
commit808888aa47377b7caa7b199975e927ab6a004840 (patch)
tree04ade2c87f78d4d6526b265bc707a0798df42e19 /Help
parentc9836f8a886daf10e46d068d736c56c78d94de6a (diff)
parent6d6f4b93164313ae8f6dfbaabc579c48732c2769 (diff)
downloadCMake-808888aa47377b7caa7b199975e927ab6a004840.zip
CMake-808888aa47377b7caa7b199975e927ab6a004840.tar.gz
CMake-808888aa47377b7caa7b199975e927ab6a004840.tar.bz2
Merge topic 'cpack-custom-dmg-names'
6d6f4b9316 CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME b53230fbee Tests: Add DragNDrop as a testable CPack generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4227
Diffstat (limited to 'Help')
-rw-r--r--Help/cpack_gen/dmg.rst7
-rw-r--r--Help/release/dev/custom-dmg-names.rst7
2 files changed, 14 insertions, 0 deletions
diff --git a/Help/cpack_gen/dmg.rst b/Help/cpack_gen/dmg.rst
index 1e37889..35320c2 100644
--- a/Help/cpack_gen/dmg.rst
+++ b/Help/cpack_gen/dmg.rst
@@ -81,6 +81,13 @@ on macOS:
``<language>.menu.txt`` and ``<language>.license.txt`` in the directory
specified by the :variable:`CPACK_DMG_SLA_DIR` variable.
+.. variable:: CPACK_DMG_<component>_FILE_NAME
+
+ File name when packaging ``<component>`` as its own DMG
+ (``CPACK_COMPONENTS_GROUPING`` set to IGNORE).
+
+ - Default: ``CPACK_PACKAGE_FILE_NAME-<component>``
+
.. variable:: CPACK_COMMAND_HDIUTIL
Path to the ``hdiutil(1)`` command used to operate on disk image files on
diff --git a/Help/release/dev/custom-dmg-names.rst b/Help/release/dev/custom-dmg-names.rst
new file mode 100644
index 0000000..73a70a1
--- /dev/null
+++ b/Help/release/dev/custom-dmg-names.rst
@@ -0,0 +1,7 @@
+custom-dmg-names
+----------------
+
+* The :cpack_gen:`CPack DragNDrop Generator` learned to use
+ the :variable:`CPACK_DMG_<component>_FILE_NAME` variable
+ to set a custom filename when packaging components into
+ their own DMGs.