user1135111
user1135111

Reputation: 61

How to set parent path of $(SRCROOT) in Xcode

From the http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html%23//apple_ref/doc/uid/TP40003931-CH3-SW38, we can find Xcode's build settings like $(SRCROOT). But in my case, the header files is in a parent folder of $(SRCROOT). Is there a way to access that without put in the absolute path?

Thanks!

Upvotes: 5

Views: 10209

Answers (1)

Jim
Jim

Reputation: 73966

The sequence .. refers to the parent directory in almost all operating systems.

$(SRCROOT)/../OtherPath

Upvotes: 10

Related Questions