Re: Xcode's default project layout causes $SRCROOT to be wrong.
Re: Xcode's default project layout causes $SRCROOT to be wrong.
- Subject: Re: Xcode's default project layout causes $SRCROOT to be wrong.
- From: Stephen Kay <email@hidden>
- Date: Wed, 03 Oct 2012 01:42:46 -0400
- Thread-topic: Xcode's default project layout causes $SRCROOT to be wrong.
on 10/2/12 8:50 PM, Gavin Stokes at email@hidden wrote:
> We were having trouble getting the compiler to find some headers. I
> realized that it's because Xcode is putting the xcodeproj file outside
> the directory that contains the source. It appears to derive $SRCROOT
> from the project file's location.
AFAIK, that's precisely what it does. $SRCROOT is the directory that
contains the project.
If you want to go up a level, as in your example, use ${SRCROOT}/../
- Stephen
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma-Lab :: developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden