Re: Source Tree Preference
Re: Source Tree Preference
- Subject: Re: Source Tree Preference
- From: Marshall Clow <email@hidden>
- Date: Sun, 9 Nov 2003 10:03:29 -0800
Scott Tooker <email@hidden> wrote:
Just to clarify some things:
1. Xcode doesn't support recursive search paths.
A major failing, IMNSHO.
What's the rationale here?
2. The 'Source Trees' support provides a way for users to define custom
root paths. For example, the CodeWarrior Importer defines a source tree
that points to the "Metrowerks CodeWarrior" folder on your disk. This
makes it possible to define a relative path to PowerPlant files that
works for multiple users. Of course, this requires that each user
define the same Source Tree name in their preferences.
But amazingly unhelpful, given #1 above.
It assumes that all the code that I share between projects
lives in a single directory. PowerPlant, boost, Whisper, crypto++, etc,
none of these follow that model.
This makes porting my CW projects to XCode a major PITA.
So the best thing to do in your case is create a source tree that
points to the root of the boost sources. Then add all the boost sources
(including the headers) to the project and use that source trees for
the reference style (instead of project relative, make it point to your
source tree).
Also, if the boost library has a ton of source and headers, you might
want to create a separate project that just deals with building the
boost libraries and then use cross-project references to refer to the
built boost library.
Thanks, but no thanks.
The boost libraries are a mix of header only template libraries
and source code files. A separately built-boost library is not possible
in many cases.
It's like a "separately built" version of the Standard Template library.
At this point you'll probably need to add header search paths as needed
(though, since you've included all the headers you shouldn't need
many).
There's only about 40 of them - that shouldn't take too long.
That's a lot of work, to make up for a failing in XCode (see #1 above).
I've been using XCode for a couple of weeks, and except for the bugs,
this is the thing that's giving me the most problems - finding files.
[ Bug: When I select a file name and hit "cmd-shift-D", it should NEVER EVER
open a file that is different from the one that the compiler will use. ]
--
-- Marshall
Marshall Clow Idio Software <mailto:email@hidden>
Hey! Who messed with my anti-paranoia shot?
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.