[CMake] Minimal Info.plist

Ryan Pavlik rpavlik at iastate.edu
Mon Apr 19 20:21:44 EDT 2010


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

rpavlik at iastate.edu
http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik



More information about the CMake mailing list