• 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: xcconfig files and ZeroLink
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcconfig files and ZeroLink


  • Subject: Re: xcconfig files and ZeroLink
  • From: Chris Hanson <email@hidden>
  • Date: Thu, 30 Jun 2005 15:40:02 -0700

On Jun 29, 2005, at 12:17 PM, Mark Dalrymple wrote:
Or am I just misunderstanding how .xcconfig files work?

Just to expand a little on what Scott and Mark said, .xcconfig files act as a basis for configurations, and configurations inherit by name within a project.


For example, when you build a target with the Debug configuration the settings that are used come from (in order):

0. xcodebuild command-line arguments, if you're using xcodebuild.

1. The Debug configuration for the target. If an .xcconfig file is specified it forms a basis for the configuration that can then be customized.

2. The Debug configuration for the project containing the target. If an .xcconfig file is specified it forms a basis for the configuration that can then be customized.

3. Environment variables.

4. Default values for the settings.

Since you created an .xcconfig file containing ZERO_LINK=NO and based a configuration in your project on it, you were providing a basis for the ZERO_LINK setting at layer #2 above which you could customize in layers #0 through #2. Since there was also a ZERO_LINK setting in layer #1, that was the one that was used.

By and large, you generally won't need to think about putting any settings at the project level unless you explicitly want to take advantage of this inheritance.

  -- Chris

_______________________________________________
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: 
 >xcconfig files and ZeroLink (From: Mark Dalrymple <email@hidden>)

  • Prev by Date: Re: fopen
  • Next by Date: Program crashes when executed normally, but runs w/o trouble in the Debugger
  • Previous by thread: Re: xcconfig files and ZeroLink
  • Next by thread: long time saving documents in Xcode 2.1
  • Index(es):
    • Date
    • Thread