Re: Is it possible to automatically generate Xcode projects?
Re: Is it possible to automatically generate Xcode projects?
- Subject: Re: Is it possible to automatically generate Xcode projects?
- From: Michael Crawford <email@hidden>
- Date: Mon, 13 Jul 2009 08:07:07 -0700
On Mon, Jul 13, 2009 at 7:50 AM, Sean McBride<email@hidden> wrote:
>>Simple question. Are there any tools for generating Xcode projects
>>from the command line?
Two possibilities:
You can use Makefiles with GNU Make. You'll just need to provide some
options that you don't see on other *NIX platforms, like enabling the
use of frameworks.
I'm pretty sure that just about every option you can set in an Xcode
project can be handled by a Makefile.
It's not too hard to set up a single Makefile that will work on every
platform that GNU Make runs on. I'm planning to do this myself.
The other possibility is to write a program or script that generates
the project.pbxproj files. They're just text files, and you should be
able to figure out their format by looking at them. Possibly the
format is documented online somewhere.
They are inside of the .xcodeproj directories - Xcode projects are
bundles, and you can look inside them either by Control-clicking them
in the Finder, and then selecting Show Package Contents, or you can
use the Terminal and cd into the YourProject.xcodeproj directory.
I'll send you my bill in the mail. :-D
Mike
--
Michael David Crawford
mdcrawford at gmail dot com
GoingWare's Bag of Programming Tricks
http://www.goingware.com/tips/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden