The Bundle generator is a (sort of silly) "create a bundle from a command line executable at packaging time" mechanism. You do not want to use it unless that is exactly what you are trying to do.
If you're building a regular Mac Bundle application and you already have your Bundle built at build time, the DragNDrop or the PackageMaker cpack generators are probably the two you'll be most interested in. The best documentation on this stuff is probably the CPack chapter in the Mastering CMake book. HTH, David On Tue, Apr 20, 2010 at 12:11 PM, Ben Medina <ben.med...@gmail.com> wrote: > That seems to be how everyone does it, so I guess I'll follow suit. > What's throwing me off is the wiki says this about the Bundle > generator: "Rationale: de-facto standard mechanism for distributing > bundles." Unless that's only specifically referencing the previous > sentence about distributing a compressed disk image. > > Is there any documentation about why one would choose the Bundle > generator over DragNDrop? > > Thanks, > Ben > > On Mon, Apr 19, 2010 at 5:21 PM, Ryan Pavlik <rpav...@iastate.edu> wrote: > > You might consider the MACOSX_BUNDLE target property, which lets you > build a > > bundle right at that time, including the info.plist - you can then use > this > > with DragNDrop to have a DMG containing one or more app bundles for easy > > install. > > > > Ryan > > > > On 04/19/2010 07:04 PM, Ben Medina wrote: > >> > >> Hello all, > >> > >> I'm using the CPack Bundle generator to package my application on the > >> Mac (assuming this is preferable to the DragNDrop generator according > >> to http://www.cmake.org/Wiki/CMake:CPackPackageGenerators). One > >> requirement is providing an Info.plist file, but I don't know what > >> information is required in my plist. Is there are example somewhere of > >> a minimal Info.plist for a CMake-built app? > >> > >> It seems that the DragNDrop generator creates a plist for you, but > >> that functionality is missing from the Bundle generator. Can I > >> directly invoke whatever the DragNDrop generator is using to create a > >> default plist? > >> > >> Thanks, > >> Ben > >> _______________________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Please keep messages on-topic and check the CMake FAQ at: > >> http://www.cmake.org/Wiki/CMake_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://www.cmake.org/mailman/listinfo/cmake > >> > > > > -- > > Ryan Pavlik > > HCI Graduate Student > > Virtual Reality Applications Center > > Iowa State University > > > > rpav...@iastate.edu > > http://academic.cleardefinition.com > > Internal VRAC/HCI Site: http://tinyurl.com/rpavlik > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the CMake FAQ at: > > http://www.cmake.org/Wiki/CMake_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://www.cmake.org/mailman/listinfo/cmake > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake