问题
I wrote a C command line tool which uses GLUT to visualize a genetic algorithm 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!
回答1:
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.
回答2:
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?
回答3:
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.
来源:https://stackoverflow.com/questions/4539902/distributing-a-c-command-line-tool-in-a-os-x-app-bundle