Xcode -- what is $(SRCROOT)?

I am looking at an Xcode project that uses some libraries. The project was created on a different computer, so I need to update some paths. The library search paths all start with $(SRCROOT). What does that mean?


Solution 1:

It's the path to the directory containing the Xcode project.

Solution 2:

That's basically your project root directory defined by Xcode.

http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-SW38