5

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) 的父文件夹中。有没有办法在不输入绝对路径的情况下访问它?

谢谢!

4

1 回答 1

10

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

$(SRCROOT)/../OtherPath
于 2013-01-25T17:47:20.120 回答