Re: xcconfig files and ZeroLink
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