• 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: "Sean McBride" <email@hidden>
  • Date: Mon, 25 Jan 2010 18:19:39 -0500
  • Organization: Rogue Research Inc.

On 1/25/10 5:26 PM, Stonewall Ballard said:

>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?

Do your .xcconfig files #include other .xcconfig files?  If so, you may
be expecting $(inherited) to do something that it cannot, namely to
accumulate settings from previous #includes.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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

  • Follow-Ups:
    • Re: Where can $(inherited) be used?
      • From: Stonewall Ballard <email@hidden>
References: 
 >Where can $(inherited) be used? (From: Stonewall Ballard <email@hidden>)

  • Prev by Date: Re: Where can $(inherited) be used?
  • Next by Date: Re: Option for viewing all values of an array?
  • Previous by thread: Re: Where can $(inherited) be used?
  • Next by thread: Re: Where can $(inherited) be used?
  • Index(es):
    • Date
    • Thread