CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME

This commit is contained in:
Andrew Fuller
2020-01-14 15:27:22 -08:00
parent b53230fbee
commit 6d6f4b9316
6 changed files with 26 additions and 1 deletions
+7
View File
@@ -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
+7
View File
@@ -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.