Fix Xcode project references to the source tree
commit24eb29d8eeedd28f1b4733bec1470d5f6c32f6d6
authorking <king>
Tue, 22 Sep 2009 20:18:30 +0000 (22 20:18 +0000)
committerking <king>
Tue, 22 Sep 2009 20:18:30 +0000 (22 20:18 +0000)
tree943de90f23ae8548e4a6915c49e217d2a06661c2
parent5aa813d50607e12528e9f958e799bae9efda15cb
Fix Xcode project references to the source tree

Xcode project source file references need to always be relative to the
top of the source tree in order for SCM and debug symbols to work right.
We must even allow the relative paths to cross outside of the top source
or build directories.

For subdirectory project() command Xcode projects we use the source
directory containing the project() command as the top.  Relative paths
are generated accordingly for each subproject.

See issue #8481.
Source/cmGlobalXCodeGenerator.cxx
Source/cmGlobalXCodeGenerator.h