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.<br><br>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.<br>
<br>The best documentation on this stuff is probably the CPack chapter in the Mastering CMake book.<br><br><br>HTH,<br>David<br><br><br><div class="gmail_quote">On Tue, Apr 20, 2010 at 12:11 PM, Ben Medina <span dir="ltr"><<a href="mailto:ben.medina@gmail.com">ben.medina@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">That seems to be how everyone does it, so I guess I'll follow suit.<br>
What's throwing me off is the wiki says this about the Bundle<br>
generator: "Rationale: de-facto standard mechanism for distributing<br>
bundles." Unless that's only specifically referencing the previous<br>
sentence about distributing a compressed disk image.<br>
<br>
Is there any documentation about why one would choose the Bundle<br>
generator over DragNDrop?<br>
<br>
Thanks,<br>
<font color="#888888">Ben<br>
</font><div><div></div><div class="h5"><br>
On Mon, Apr 19, 2010 at 5:21 PM, Ryan Pavlik <<a href="mailto:rpavlik@iastate.edu">rpavlik@iastate.edu</a>> wrote:<br>
> You might consider the MACOSX_BUNDLE target property, which lets you build a<br>
> bundle right at that time, including the info.plist - you can then use this<br>
> with DragNDrop to have a DMG containing one or more app bundles for easy<br>
> install.<br>
><br>
> Ryan<br>
><br>
> On 04/19/2010 07:04 PM, Ben Medina wrote:<br>
>><br>
>> Hello all,<br>
>><br>
>> I'm using the CPack Bundle generator to package my application on the<br>
>> Mac (assuming this is preferable to the DragNDrop generator according<br>
>> to <a href="http://www.cmake.org/Wiki/CMake:CPackPackageGenerators" target="_blank">http://www.cmake.org/Wiki/CMake:CPackPackageGenerators</a>). One<br>
>> requirement is providing an Info.plist file, but I don't know what<br>
>> information is required in my plist. Is there are example somewhere of<br>
>> a minimal Info.plist for a CMake-built app?<br>
>><br>
>> It seems that the DragNDrop generator creates a plist for you, but<br>
>> that functionality is missing from the Bundle generator. Can I<br>
>> directly invoke whatever the DragNDrop generator is using to create a<br>
>> default plist?<br>
>><br>
>> Thanks,<br>
>> Ben<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the CMake FAQ at:<br>
>> <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
>><br>
><br>
> --<br>
> Ryan Pavlik<br>
> HCI Graduate Student<br>
> Virtual Reality Applications Center<br>
> Iowa State University<br>
><br>
> <a href="mailto:rpavlik@iastate.edu">rpavlik@iastate.edu</a><br>
> <a href="http://academic.cleardefinition.com" target="_blank">http://academic.cleardefinition.com</a><br>
> Internal VRAC/HCI Site: <a href="http://tinyurl.com/rpavlik" target="_blank">http://tinyurl.com/rpavlik</a><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the CMake FAQ at:<br>
> <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>