Re: Appending value in xcconfig file
Re: Appending value in xcconfig file
- Subject: Re: Appending value in xcconfig file
- From: Dmitry Nezhevenko <email@hidden>
- Date: Fri, 16 Apr 2010 23:44:15 +0300
On Fri, Apr 16, 2010 at 08:39:01AM -0700, Chris Espinosa wrote:
> On Apr 16, 2010, at 4:50 AM, Dmitry Nezhevenko wrote:
> > Unfortunately code like:
> >
> > FRAMEWORK_SEARCH_PATHS = $(FRAMEWORK_SEARCH_PATHS) NEW_VALUE
> >
> > doesn't work at all. It applies only NEW_VALUE and forgets about previous
> > setting.
>
> The correct general syntax for this is
>
> FRAMEWORK_SEARCH_PATHS = $)inherited) /path/to/additional/frameworks
>
> You have to use the .xcconfig file in the correct place in the build
> setting hierarchy. Framework Search Paths is initially undefined at the
> lowest level of Xcode, so you might be seeing correct behavior,
> depending on where your .xcconfig file is used.
>
Actually I'm using #include directive to share some settings between
different .xcconfig files. Something like this:
#include "master.xcconfig"
#include "somelib.xcconfig"
And both "master" and "somelib" files contains FRAMEWORK_SEARCH_PATHS
definition. I thought that xcode can handle this, but I was wrong.
--
WBR, Dmitry
_______________________________________________
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