Re: Where can $(inherited) be used?
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