[Cmake] Mac OS X .app bundle making script - double-clickable mac application

paul. poppenhe at umich.edu
Thu Jun 10 12:04:22 EDT 2004


Is there anything in cmake that would copy stuff into the bundle? (ie 
Resources, Frameworks, or Plugins?)

- paul

On Jun 10, 2004, at 10:42 AM, Andy Cedilnik wrote:

> Hi Paul (and other mac users),
>
> I added initial support for OSX bundles in CMake. Please try this:
>
> ADD_EXECUTABLE(myexe MACOSX_BUNDLE myexe.cxx)
>
> You should also be able to set (prior to ADD_EXECUTABLE):
>
> MACOSX_BUNDLE_INFO_STRING
> MACOSX_BUNDLE_ICON_FILE
> MACOSX_BUNDLE_GUI_IDENTIFIER
> MACOSX_BUNDLE_LONG_VERSION_STRING
> MACOSX_BUNDLE_BUNDLE_NAME
> MACOSX_BUNDLE_SHORT_VERSION_STRING
> MACOSX_BUNDLE_BUNDLE_VERSION
> MACOSX_BUNDLE_COPYRIGHT
>
> Please note, this is a new feature and was not well tested yet, but is
> available in CMake 2.0.
>
> 			Andy
>
> On Thu, 2004-06-10 at 10:12, paul. wrote:
>> In case anyone was looking for a way to bundle up the binary file they
>> just made with cmake on Mac OS X, here you go. Naturally you need to
>> provide the binary, Info.plist, project.icns file, and all the
>> frameworks. This is just the maker. Quick and dirty, i'm a new cmake
>> user who didn't realize cmake didn't have one!
>
>



More information about the Cmake mailing list