Re: A little confused about target settings
Re: A little confused about target settings
- Subject: Re: A little confused about target settings
- From: Greg Guerin <email@hidden>
- Date: Fri, 15 Feb 2008 19:52:00 -0700
kwiley wrote:
>I just want two extra targets, one which passes check to the underlying
>makefile and one which passes install. The makefile already exists, I just
>need to pass arguments to it.
Pass those exact arguments as literals:
First target, the command is 'make' and the arg is 'check'.
Second target, the command is 'make' and the arg is 'install'.
However, the 'install' action is already something that Xcode will do, so
you might want to rethink this. In particular, do you really want to
create an Xcode *target* that represents a check or install action? I ask
this because when you tell Xcode to Clean or Clean All, it will build your
targets with $(ACTION) set to "clean". If your targets aren't set up to
recognize "clean", and just blindly do a 'check' and 'install' using the
makefile, then I don't think you'll get what you're aiming for.
You say "I just want two extra targets", but are you really sure you're
asking for the right thing? An Xcode target is not a one-to-one mapping to
a make target.
You may want to look a little more deeply into exactly what a customized
Xcide target really is, by reading the relevant sections of the Xcode
manual and maybe walking through a couple of harmless examples that use
'echo' as the command instead of 'make'.
-- GG
_______________________________________________
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