[CMake] Using CPack with OSX 10.9

Sean McBride sean at rogue-research.com
Tue Jul 29 11:07:28 EDT 2014


On Tue, 29 Jul 2014 01:06:26 +0000, Lachlan.Hetherton at csiro.au said:

>I’m currently looking into the OSX Bundle generator, however, our
>application ships with multiple executables and a number of dependent
>libraries and frameworks, so I’m not quite sure whether this is the
>right way to go. From what I’ve read, OSX application bundles are
>supposed to have a single executable only – how would I go about
>deploying an application that has multiple component applications? If we
>use the bundle generator, our application is going to look like this (I
>think), which seems strange:
>
>OurApplication.app/
>    Contents/
>        Info.plist
>        MacOS/
>            executable1
>        Frameworks/
>            QtCore.framework
>            QtGui.framework
>>        Resources/
>            bin/
>                executable1
>                executable2
>>            lib/
>                non-framework dependencies

What's strange about it?  It's generally strongly preferred for an OS X application to be self-contained in a .app.  There are times when it's not possible, which is maybe your case?  What do you need to install where?

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada


More information about the CMake mailing list