A little confused about target settings
A little confused about target settings
- Subject: A little confused about target settings
- From: kwiley <email@hidden>
- Date: Fri, 15 Feb 2008 10:26:23 -0800
In the target settings window there is an area for Custom Build
Command and an area for Build Settings (there's also an area at the
top for General Settings but that isn't relevant to my question). The
Custom Build Command has an entry for the command and for the
arguments, as well as the directory. The Build Settings sets various
environment variables. I think these are make-environment variables,
not system-environment variables. The arguments setting defaults to $
(ACTION), which starts out empty, by which I mean, it isn't assigned
in the Build Settings at the bottom.
At any rate...I thought to make a "make check" target, I should add a
Build Settings named ACTION and set its value to "check"...but when I
do that, build, and look at the middle pane of the Build Results
window, it obviously didn't pass "check" as an argument to make. If I
explicitly add "check" in the arguments setting, next to $(ACTION),
then it successfully builds "make check".
So, do I have to put "check" literally in the arguments setting? If
so, what is the ACTION variable for. It suggests using it for exactly
this kind of thing. It says "Use "$ACTION" for the build action
(clean, install, etc)."
Thanks.
________________________________________________________________________
Keith Wiley email@hidden http://www.cs.unm.edu/~kwiley
"Yet mark his perfect self-contentment, and hence learn his lesson, that
to be self-contented is to be vile and ignorant, and that to aspire is
better than to be blindly and impotently happy."
-- Edwin A. Abbott,
Flatland
________________________________________________________________________
_______________________________________________
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