Re: Where can $(inherited) be used?
Re: Where can $(inherited) be used?
- Subject: Re: Where can $(inherited) be used?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 25 Jan 2010 23:36:32 +0100
Le 25 janv. 2010 à 23:26, Stonewall Ballard a écrit :
> I just refactored some .xcconfig files, and discovered that $(inherited) works in some places but not in others. I didn't see any documentation that even mentions $(inherited). I'd think it would be in the Xcode Build System Guide, but it isn't.
>
> Experimentation showed that you can't use it in a GCC_PREPROCESSOR_DEFINITIONS setting. That seems like one of the best places to use it. A work-around is to set a user-defined symbol, say COMMON_PREPROCESSOR_DEFINITIONS to the definitions used everywhere, then put $(COMMON_PREPROCESSOR_DEFINITIONS) on the downstream definitions.
>
> Should $(inherited) have worked for defines? Is there any doc on where it's valid?
>
I'm using in GCC_PREPROCESSOR_DEFINITIONS and it works fine (with Xcode 3.2 at least but I'm pretty sure I'm using for a long time).
-- Jean-Daniel
_______________________________________________
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