Re: Problem with Header Search Paths at Project level.
Re: Problem with Header Search Paths at Project level.
- Subject: Re: Problem with Header Search Paths at Project level.
- From: "William H. Schultz" <email@hidden>
- Date: Thu, 27 Oct 2005 10:09:27 -0700
John,
If you have the "Header Search Paths" set for your target, then the
default project settings are ignored. If you get info on the target,
it has its own individual build settings. If the "Header Search
Paths" variable is bold, then it's set. You'll have to click on it
and then press the minus button to turn this off.
The project settings are not project-wide settings that apply to all
targets; they are default settings that can be overridden.
Hank Schultz
Cedrus Corporation
http://www.cedrus.com/
On Oct 27, 2005, at 6:11 AM, email@hidden wrote:
Hi,
this morning I added a local include path into my XCode project via
the project info's build configuration. I found that the #include
lines I had were never being found.
I added
/usr/local/include/exiv2
into the
Header Search Paths
option for the entire project (i.e. click project icon, hit Apple-
I, click build tab, specify path for 'Header Search Paths').
when looking at the compiler output, these headers we're NOT being
included in the compilation. This is obviously why the compiler
was returning errors trying to include the files. But I had
thought this was the entire PURPOSE of the 'Header Search Paths'
option. I've checked this for both debug and release, to ensure I
wasn't deing silly and setting one config but then using the other...
Then I changed the Header Search Paths for just the single
compilation unit, in this case a .mm file - and it works without
issues.
So why is XCode not using my additional 'Header Search Paths'
option, when I specify an additional dir at the project level
Has anyone else come across this?
John Clayton
---------------------------------
UBS AG
Information Technology
Europastrasse 2, Opfikon
Tel. +41-1-239 23 36
#claytojo
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40cedrus.com
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