How to pass additional parameters to make in Xcode legacy project ?
How to pass additional parameters to make in Xcode legacy project ?
- Subject: How to pass additional parameters to make in Xcode legacy project ?
- From: Paul Russell <email@hidden>
- Date: Wed, 2 Mar 2005 14:45:11 +0000
I'm trying to get Xcode to work with a legacy Makefile, The problem is
that I need to be abel to pass additional parameters to make when it is
invoked. Ideally I would have different build styles which could be set
up to pass different parameters to make, e.g.
Deployment: make FOO=0
Development: make FOO=1
(the real situation is a lot more complicated than this and there are
soemwhat more than two different possibilities)
I've tried adding these parameters to what seems like an obvious place,
e.g. Project-> Get Info -> Build -> Additional Compiler Flags but they
don't "stick" so maybe Xcode doesn't think of make as a "compiler" in
this sense (or maybe it's just a bug in Xcode ?) ?
Currently I can only see one horribly kludgy solution which would be to
create a whole bunch of small Makefiles which call the main Makefile
with the different parameters and then have a whole bunch of different
targets, one for each Makefile variation. There must be a better way,
surely ? I expect I'm missing something obvious.
Paul
_______________________________________________
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