Xcode -- what is $(SRCROOT)?

William Jockusch picture William Jockusch · Sep 15, 2010 · Viewed 94.1k times · Source

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?

Answer

mipadi picture mipadi · Sep 15, 2010

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