Re: Header Search Paths & Source Trees
Re: Header Search Paths & Source Trees
- Subject: Re: Header Search Paths & Source Trees
- From: Andreas Grosam <email@hidden>
- Date: Mon, 2 May 2005 13:14:08 +0200
On 01.05.2005, at 21:14, Roy Lovejoy wrote:
I can't seem to get these two to get along..
The powers that be (for this porject) had set up the project to be at
/Company
(and their Header Search Paths of the project go "/Company/includes"
etc)
I'm trying to make it as easy on them, and still let me put the source
where I want..
So I set up a Source Tree to say
Company Company /Company
and put
{Company}/includes
in the Header Search Path
but now the includes can't be found...
what's the proper syntax for this redirection within Header Search
Paths??
Use
$(Company)/includes
as the header search path, where "Company" referers to the "Setting
Name" in the source tree in the preferences.
The parentheses enclosing the name are for propper expansion, if there
are white spaces in the path.
This might be usefull, too: there are a number of predefined standard
paths, like the home directory which is HOME, or LOCAL_LIBRARY_DIR
which is /Library
please see
<http://developer.apple.com/releasenotes/DeveloperTools/Xcode/
XcodeBuildSettings.html> for a complete list of build settings.
You can use these variables in the build settings, and - if appropriate
- also in the definition of the paths for source trees in the
preferences, for instance:
Setting Name Display Name Path
------------ ------------ ------------------------------------
BOOST boost $(HOME)/Develop/boost_1_32_0
Company Company $(HOME)/Develop/Company_2_1
Notice, several path entries shall be separated with white spaces in
the header search paths setting. It may look then like this:
Header Search Paths $(BOOST) $(Company)/include
Regards
Andreas
+----------------------------------------------------------------------
--+
| Roy Lovejoy PHONE: 858.945.1892
<mailto:email@hidden> |
| Pixel PoohBah FAX: 858.672.0637
<http://www.AdeptSolutions.com> |
| Adept Solutions * 15281 Amalia St * San Diego CA 92129
|
+----------------------------------------------------------------------
--+
| Consulting * OS X porting * SCSI USB * Quicktime * Color * WinOS
ports |
+----------------------------------------------------------------------
--+
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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