开发者

Distributing a C command line tool in a OS X .app Bundle

I wrote a C command line tool which uses GLUT to visualize a genetic algo开发者_如何学运维rithm and I want to distribute it in a Mac OS X .app Bundle.

How do I do that? Are there any helper tools available for this?

Thank you very much! Thomas

Edit: Thank you very much for your help, I didn't think of it being that easy!


Create new xcode project, with "application" template. Add your source code to that project, compile and... You have app bundle. You need only to deploy it (add frameworks). Thats all.


If you want to compile your code, you can use the Mac OS X IDE XCode.
If you want an installer for that, you can use the Package Maker.

(I have already found the Package Maker utility - but that is not what I wanted.)

Package Maker is for distribution. May I know why package maker won't help?


You must link the library into the bundle in order to avoid issue. Look the issue about Universal build instead of doing a PPC and Intel build.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜