Re: Converting a Makefile project to Xcode
Re: Converting a Makefile project to Xcode
- Subject: Re: Converting a Makefile project to Xcode
- From: Fritz Anderson <email@hidden>
- Date: Tue, 12 Jun 2007 21:38:02 -0500
On 12 Jun 2007, at 8:35 PM, Adam Mercer wrote:
I have a project that currently builds using a Makefile but I want to
convert it over to using Xcode
...
I there another way that I can convert a Makefile based project
over to Xcode?
Let me open the bidding with a couple of dumb questions...
Umbrella question: Have you determined that it will be too hard to do
by hand?
Create a new Xcode project for the intended end product of your
build. Add the whole source tree to the project. Does that do the
right thing? Xcode goes a surprisingly long way just by inference.
Okay, so you have intermediate products, like libraries. For Library
X, add a target for the library, select all the sources for it
(simultaneously), open an Info window and change the target for those
files from End Product to Library X. Repeat for each library. If your
source tree was organized so each library had its own source
directory, all you'd have to do is select the relevant folder in the
Groups & Files view.
Each library has its own compiler flags? Each target has its own
build settings. Checking all the boxes could get tedious. You could
cheat and set the "extra flags" entries to match your flag strings.
Or it might be easier to drag all the Xcode settings into an xcconfig
file, edit that, and base the target settings on the contents of the
file. (Look up xcconfig by doing a text search on that string in the
Xcode Help window.)
But your case is probably much harder than I suppose.
— F
_______________________________________________
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