• 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
Re: Where can $(inherited) be used?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where can $(inherited) be used?


  • Subject: Re: Where can $(inherited) be used?
  • From: Scott Tooker <email@hidden>
  • Date: Tue, 26 Jan 2010 11:05:33 -0800

From a build setting perspective, all the xconfig files referenced by a given layer (say, the project) all exist at the same level. Xcode doesn't dynamically include new build setting layers based on the include structure of a referenced xcconfig file. This makes more sense when you consider that a #include statement in an xcconfig file just "dumps" the referenced file into the xcconfig file (in the same way that including/importing a header places the information inline in the implementation file when preprocessing).

Scott

On Jan 26, 2010, at 7:07 AM, Stonewall Ballard wrote:

> Aha! I see that I was trying to inherit definitions into a .xcconfig file from one that it included. That doesn't work. It does work to use $(inherited) between the setting layers. So, I still need a user-defined setting so that my main .xcconfig file can have values that are added to by the debug and release .xcconfig files that import it, but I can use $(inherited) everywhere else.
>
> Thanks for clearing that up!
>
> - Stoney

 _______________________________________________
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

References: 
 >Where can $(inherited) be used? (From: Stonewall Ballard <email@hidden>)
 >Re: Where can $(inherited) be used? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Where can $(inherited) be used? (From: Stonewall Ballard <email@hidden>)
 >Re: Where can $(inherited) be used? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Where can $(inherited) be used? (From: Stonewall Ballard <email@hidden>)

  • Prev by Date: Re: what's with the admin privilege business
  • Next by Date: Re: detecting and acting on xcode version in proj file?
  • Previous by thread: Re: Where can $(inherited) be used?
  • Next by thread: Re: Where can $(inherited) be used?
  • Index(es):
    • Date
    • Thread