[CMake] Small, realistic Cpack example

Boudewijn Rempt boud at valdyas.org
Tue Sep 16 11:41:24 EDT 2008


On Tue, 16 Sep 2008, Shead, Timothy wrote:

> On 9/16/08 8:26 AM, "Boudewijn Rempt" <boud at valdyas.org> wrote:
> \
> > Ah... Well, we're struggling with that ourselves at the moment, and looking
> > in vain some good examples. Right now, we're using CPack for Linux and
> > Windows,
> > and have stopped using CPack for OS X -- where I am right now writing a shell
> > script to fill out the .app bundle and create a dmg out of it, following E.
> > Wing's
> > advice last weekend.
> 
> Use the OSX bundle generator, which was introduced in Cmake 2.6:
> 
> http://www.cmake.org/Wiki/User:Tshead/OSX_CPack_Bundle_Generator
> 

I remember I tried that last week -- but it crashed immediately. And it wasn't
clear whether it was actualy already part of 2.6, and whether it would generate a
dmg of the bundle, too. Does it? And how can one set a background image and a couple
of extra files in the dmg, if so?

Boudewijn



More information about the CMake mailing list