For my iOS project, I have a specific folder structure:
|-- root | |-- src | | |-- xcode | | |-- MyProject |
I think it's $(SRCROOT)/../../../library (I'm not sure whether it needs trailing slash)
$(SRCROOT)/../../../library
$(SRCROOT)/.. points to root/src (one level up from root/src/xcode)
$(SRCROOT)/..
root/src
root/src/xcode
$(SRCROOT)/../.. points to root(two levels up from root/src/xcode)
$(SRCROOT)/../..
root
$(SRCROOT)/../../../library points to library
library