Re: Two Header file search path questions
Re: Two Header file search path questions
- Subject: Re: Two Header file search path questions
- From: Scott Tooker <email@hidden>
- Date: Wed, 7 Sep 2005 17:34:07 -0700
On Sep 7, 2005, at 2:40 PM, Ando Sonenblick wrote:
1. Why is it that even after adding (by dragging foo.h into my
project) that some other .cpp file that #includes "foo.h" can't
find it and I need to add the folder that contains foo.h to the
header search paths?
It seems that if its in the project (and opens when doubleclicked
in the project) that Xcode should be able to find it!
2. Then, why is that when I do drag a folder into the header
Search paths that Xcode still cant find foo.h until I manually edit
the path of the folder from "$(SRCROOT)/../FooFolder" to just "../
FooFolder"?
By default any relative paths in HEADER_SEARCH_PATHS are treated as
relative to SRCROOT, so your change should have been meaningless. Weird.
Is SRCROOT something I need to set up or what?
SRCROOT points to the project directory by default and should not be
changed.
What version of Xcode are you using? Do you have a small test project
that shows this problem?
Scott
thx,
ando
_______________________________________________
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
_______________________________________________
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