[CMake] Which MacOS installer to use and how?

Sean McBride sean at rogue-research.com
Wed Apr 27 10:59:05 EDT 2011


On Wed, 27 Apr 2011 16:55:58 +0200, Eric Noulard said:

>2011/4/27 Sean McBride <sean at rogue-research.com>:
>> On Wed, 27 Apr 2011 15:34:45 +0200, Eric Noulard said:
>>
>>>I'd like to provide my software as a nice Mac OS installer,
>>>and I am back into the Mac OS jungle:
>>>
>>>  Bundle                      = Mac OSX bundle
>>>  DragNDrop                   = Mac OSX Drag And Drop
>>>  OSXX11                      = Mac OSX X11 bundle
>>>  PackageMaker                = Mac OSX Package Maker installer
>>>
>>>Which one should I go with?
>>>My current projects currently contains only command lines tools
>>>which I expect to install "in standard place" (may be /usr?) on the Mac.
>>
>> The first thing to figure out is what you need to install where.  If
>> it's a bunch of command line tools, then maybe /usr/local/bin would be
>> the right place; don't install in /usr/bin !   Probably a .pkg is your
>> best bet.
>
>Ok I'll go for /usr/local.
>
>.pkg meaning ? which CPack generator?

Probably "PackageMaker", though I've never used CPack.

>I tried "PackageMaker" and even if I manage to build & execute the installer
>it fails in the end.

Does it generate a .pkg file?  That's the format that the Mac OS X
installer (Installer.app) expects.

-- 
____________________________________________________________
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