Odd relative paths
Odd relative paths
- Subject: Odd relative paths
- From: Michael Hecht <email@hidden>
- Date: Sat, 23 Jul 2005 09:34:39 -0400
I have several files in my project that I want to have a relative path of this form:
../A/foo.cpp
Most of the files that I want to access in this way are fine. However, there are a few that, when they are compiled, show me a build message with a path like this:
../A/../A/foo.cpp
or even this:
../A/../B/../A/foo.cpp
I know it's harmless, but it might cause problems if I relocate my project to another machine (for example, if B didn't exist on the other machine). Within Xcode, I've examined the files in question and they all seem to think that the path is already exactly what I want it to be. But something is obviously not quite right. How do I correct this? I suspect it will involve directly editing the .pbxproj file in BBEdit, but this sounds like an easy way for me to totally screw up my project file. Can someone provide detailed instructions on how to do this? Is it as easy as a global search-and-replace? What should I expect to be replacing (ie: what context should I expect to find the bad paths in)?
Thanks, --Michael |
_______________________________________________
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