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: "Sean McBride" <email@hidden>
- Date: Mon, 13 Jul 2009 11:28:11 -0400
- Organization: Rogue Research Inc.
On 7/13/09 8:07 AM, Michael Crawford said:
>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.
Unless I misunderstand your answer, that does not do what the OP asked.
I guess it's an alternative to his end goal, but it won't create Xcode
projects for him.
>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 may be "just text" but the format is non-trivial. CMake is one
such program that can generate project.pbxproj files. Once you create a
'project' in CMake it can then create: Xcode projects, unix make files,
and Visual Studio project files.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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