diff options
author | Nikita Nemkin <nikita@nemkin.ru> | 2020-11-10 08:49:05 (GMT) |
---|---|---|
committer | Nikita Nemkin <nikita@nemkin.ru> | 2020-11-12 04:44:02 (GMT) |
commit | f6fd769ae91accd6b54400b79ec797a3870cc87a (patch) | |
tree | e91c44d510a9caa1cee8afe69a7b654189212b77 /Help/cpack_gen/dmg.rst | |
parent | a19058d7d8f86c8f91e294f6fc520fe97841e721 (diff) | |
download | CMake-f6fd769ae91accd6b54400b79ec797a3870cc87a.zip CMake-f6fd769ae91accd6b54400b79ec797a3870cc87a.tar.gz CMake-f6fd769ae91accd6b54400b79ec797a3870cc87a.tar.bz2 |
Help: Add `.. versionadded` directives to CPack generator docs
Issue: #19715
Diffstat (limited to 'Help/cpack_gen/dmg.rst')
-rw-r--r-- | Help/cpack_gen/dmg.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/cpack_gen/dmg.rst b/Help/cpack_gen/dmg.rst index cede0f2..4c662a6 100644 --- a/Help/cpack_gen/dmg.rst +++ b/Help/cpack_gen/dmg.rst @@ -30,6 +30,8 @@ on macOS: .. variable:: CPACK_DMG_DS_STORE_SETUP_SCRIPT + .. versionadded:: 3.5 + Path to a custom AppleScript file. This AppleScript is used to generate a ``.DS_Store`` file which specifies the Finder window position/geometry and layout (such as hidden toolbars, placement of the icons etc.). @@ -47,11 +49,15 @@ on macOS: .. variable:: CPACK_DMG_DISABLE_APPLICATIONS_SYMLINK + .. versionadded:: 3.6 + Default behaviour is to include a symlink to ``/Applications`` in the DMG. Set this option to ``ON`` to avoid adding the symlink. .. variable:: CPACK_DMG_SLA_DIR + .. versionadded:: 3.5 + Directory where license and menu files for different languages are stored. Setting this causes CPack to look for a ``<language>.menu.txt`` and ``<language>.license.txt`` or ``<language>.license.rtf`` file for every @@ -61,8 +67,13 @@ on macOS: ``<language>.license.txt`` and ``<language>.license.rtf`` exist, the ``.txt`` file will be used. + .. versionadded:: 3.17 + RTF support. + .. variable:: CPACK_DMG_SLA_LANGUAGES + .. versionadded:: 3.5 + Languages for which a license agreement is provided when mounting the generated DMG. A menu file consists of 9 lines of text. The first line is is the name of the language itself, uppercase, in English (e.g. German). @@ -85,6 +96,8 @@ on macOS: .. variable:: CPACK_DMG_<component>_FILE_NAME + .. versionadded:: 3.17 + File name when packaging ``<component>`` as its own DMG (``CPACK_COMPONENTS_GROUPING`` set to IGNORE). |