diff options
author | Brad King <brad.king@kitware.com> | 2015-11-13 13:53:40 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-11-13 13:53:40 (GMT) |
commit | 9feb24e514f3c0f6b9a9705e17cf1917152df977 (patch) | |
tree | 8e9d592405399bc81d5ef33f25e1fd2c12cbe8a1 /Modules | |
parent | bbf1757dfa4804c0d8ac311e6645084982831a50 (diff) | |
parent | 4bca9401269878d2f3b0465377f0fb8bce87c734 (diff) | |
download | CMake-9feb24e514f3c0f6b9a9705e17cf1917152df977.zip CMake-9feb24e514f3c0f6b9a9705e17cf1917152df977.tar.gz CMake-9feb24e514f3c0f6b9a9705e17cf1917152df977.tar.bz2 |
Merge topic 'better_looking_mac_package'
4bca9401 Improve appearance of CMake .dmg package on OS X
c4b9ee18 CPack/DragNDrop: Update documentation to include new variables
167a4655 CPack/DragNDrop: Optionally run an AppleScript when making a package
9c1dfbfd CPack/DragNDrop: Place the background image file in a hidden folder
47302038 CPack/DragNDrop: Use source file extension for background image
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CPackDMG.cmake | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/Modules/CPackDMG.cmake b/Modules/CPackDMG.cmake index 37d7352..6b5af7e 100644 --- a/Modules/CPackDMG.cmake +++ b/Modules/CPackDMG.cmake @@ -26,15 +26,25 @@ # Path to a custom DS_Store file. This .DS_Store file e.g. can be used to # specify the Finder window position/geometry and layout (such as hidden # toolbars, placement of the icons etc.). This file has to be generated by -# the Finder (either manually or through OSA-script) using a normal folder +# the Finder (either manually or through AppleScript) using a normal folder # from which the .DS_Store file can then be extracted. # +# .. variable:: CPACK_DMG_DS_STORE_SETUP_SCRIPT +# +# 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.). +# By specifying a custom AppleScript there is no need to use +# CPACK_DMG_DS_STORE, as the .DS_Store that is generated by the AppleScript +# will be packaged. +# # .. variable:: CPACK_DMG_BACKGROUND_IMAGE # -# Path to a background image file. This file will be used as the background -# for the Finder Window when the disk image is opened. By default no -# background image is set. The background image is applied after applying the -# custom .DS_Store file. +# Path to an image file to be used as the background. This file will be +# copied to .background/background.<ext>, where ext is the original image file +# extension. The background image is installed into the image before +# CPACK_DMG_DS_STORE_SETUP_SCRIPT is executed or CPACK_DMG_DS_STORE is +# installed. By default no background image is set. # # .. variable:: CPACK_DMG_SLA_DIR # |