• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
A little confused about target settings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Copy Bundle Resources build phase doesn't copy certain resources)
  • Next by Date: Re: [OT] Time Machine vs 10.5.2 [fixed]
  • Previous by thread: Re: ${SRCVOL}
  • Next by thread: Re: A little confused about target settings
  • Index(es):
    • Date
    • Thread