如何在Xcode中设置$(SRCROOT)的父路径

时间:2013-01-25 17:41:49

标签: xcode

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,我们可以找到Xcode的构建设置,如$(SRCROOT)。但在我的情况下,头文件位于$(SRCROOT)的父文件夹中。有没有办法在不放入绝对路径的情况下访问它?

谢谢!

1 个答案:

答案 0 :(得分:9)

序列..指的是几乎所有操作系统中的父目录。

$(SRCROOT)/../OtherPath