Re: ${SRCVOL}
Re: ${SRCVOL}
- Subject: Re: ${SRCVOL}
- From: Chris Espinosa <email@hidden>
- Date: Fri, 15 Feb 2008 09:10:39 -0800
On Feb 15, 2008, at 8:46 AM, Philip Aker <email@hidden> wrote:
I'd like to know if Xcode has a built-in environment variable
equivalent to $SRCVOL. That is to say the volume of the current
$SRCROOT and meaning that one can define paths relative to that
location instead of always having to back up the hierarchy from
$SRCROOT (kinda like movable Do in solfège).
Glancing through an 'env' readout of a typical project, I don't see
anything that looks like a match. Currently I'm defining it in my
lowest level .xcconfig file to the particular volume the projects
are on but it would be handier if I could use a built-in because
then I wouldn't have to change it every time the project suite gets
moved to another volume.
There isn't such a setting in Xcode. The "sorta-portability" it offers
isn't that useful. Instead, you can define any number of arbitrary
Source Trees in the Preferences, and base references to external
headers, libraries, and tools off of those, in multiple projects. So
if you move tgelree interrelated projects to differrnt locations on a
different machine, just set the Source Trees on that machine and all
the projects can find each other, without modifying the projects or
having to maintain their tree relationship.
Chris _______________________________________________
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
References: | |
| >${SRCVOL} (From: Philip Aker <email@hidden>) |