I have created some config files for my project. Each config files specify the header/library dependencies.
like
sdk1.xcconfig
===================================
HEADER_SEARCH_PATHS = $(inherited) $(SDKROOT)/SDK1/include
LIBRARY_SEARCH_PATHS=$(inherited) $(SDKROOT)/SDK1/Lib/$(CONFIGURATION)
===================================
sdk2.xcconfig
===================================
HEADER_SEARCH_PATHS = $(inherited) $(SDKROOT)/SDK2/include
LIBRARY_SEARCH_PATHS=$(inherited) $(SDKROOT)/SDK2/Lib/$(CONFIGURATION)
===================================
Target.xcconfig
===================================
#include "sdk1.xcconfig"
#include "sdk2.xcconfig"
HEADER_SEARCH_PATHS = $(inherited) /myownpaths/
===================================
when this is getting resolved it looks like the variables in target.xcconfig is overriding everything else in stead of chaining.
I tried
HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) /mypaths/
it didnt work either.
Can someone please point what I am missing here. Thanks in advance