Appending value in xcconfig file
Appending value in xcconfig file
- Subject: Appending value in xcconfig file
- From: Dmitry Nezhevenko <email@hidden>
- Date: Fri, 16 Apr 2010 11:50:04 +0000
Hi,
We're intensively using .xcconfig files to define various settings (such
as FRAMEWORK_SEARCH_PATHS) on multiple levels.
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 most pity is that this is documented "feature":
When a configuration unit contains more than one definition for a
particular build setting, Xcode uses the last definition in the unit. Keep
in mind that configuration files do not have access to build setting
definitions made in configuration files they include. That is, you cannot
modify the definition made in an included configuration file; you can only
replace it.
Xcode/xcodebuild even doesn't show any kind of warning/error related to
this behavior (that is expected on any modern *nix like OSes)
Is it any way to append NEW_VALUE to setting keeping also original value?
--
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