tfeldmann
tfeldmann

Reputation: 3326

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 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!

Upvotes: 4

Views: 3387

Answers (3)

Kamil Klimek
Kamil Klimek

Reputation: 13130

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.

Upvotes: 2

ykatchou
ykatchou

Reputation: 3727

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.

Upvotes: 0

Neilvert Noval
Neilvert Noval

Reputation: 1695

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?

Upvotes: 1

Related Questions