[CMake] Cmake/MacPackaging
Michael Wild
themiwi at gmail.com
Thu May 1 16:03:31 EDT 2008
Hi
Although it is not directly integrated with CMake/CPack, you might
want to have a look at how the mozilla/firefox guys do it:
http://lxr.mozilla.org/seamonkey/source/build/package/mac_osx/pkg-dmg
and also these posts are quite useful:
http://el-tramo.be/guides/fancy-dmg
https://www.math.ohio-state.edu/wiki/administration/macosx/dmgs
I use mozilla's pkg_dmg tool, which gives me quite nice .dmg's,
including license agreement. In order to create the background, I use
a "template-dmg", where I add a custom background image, arrange dummy
files/folders (with the correct names) and a symlink to /Applications
just the way I want it, and then copy out the .DS_Store file. This
file I then pass to pkg_dmg for inclusion in the final .dmg. The
"template" has to be a .dmg, else stupid Finder will use absolute path
names in the .DS_Store file.
HTH
Michael
On 1May, 2008, at 22:47, Alin M Elena wrote:
> Thank you Bill,
>
> What I want is something in beetween a bundle in a .dmg.
> I had the imprpession that OSXX11 will do it (false unfortunately ).
>
> But should not be a problem now that I know how to use hdiutil
>
> Alin
>
> --
> ______________________________________________________________________
> "...if the universities will not study useless subjects, who will?"
> G. F. Fitzgerald, Nature, 45/46, 392 (1892)
> ______________________________________________________________________
> Mr. Alin M. ELENA
> Atomistic Simulation Centre
> School of Mathematics and Physics
> Queen's University Belfast
> Office: +44 (0)28 9097 1428
> Fax: +44 (0)28 9097 5359
> http://titus.phy.qub.ac.uk/group/Alin/
> alin.elena at yahoo.co.uk
> alin.elena at qub.ac.uk
> ______________________________________________________________________
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list