Re: Header dependances broken?
Re: Header dependances broken?
- Subject: Re: Header dependances broken?
- From: Sandy Martel <email@hidden>
- Date: Wed, 31 Dec 2003 18:32:37 -0500
Le 03-12-30, ` 18:50, Steve Smith a icrit :
I upgraded an existing C++ project to xcode 1.1 and I'm having a
problem that, upon further examination, also occurs (on a different
machine) in the project builder version of the project as well.
If I change a header file, save the change, and then build -- only
link is called! Neither the associated .cpp file or any files that
include this header file are re-compiled.
I'm certain the behavior didn't happen before (of course!). The only
thing that has changed is that we re-organized our project so that
header and source files were in different directories (in a hierarchy
below the project directory). So either that has some strange effect
or something has gotten confused in the project file. Whatever the
problem, it effects both project builder and x-code (I converted by
opening the previous PB file in xcode).
If I clean all targets, it builds and runs fine. But then the problem
is still there.
Any ideas?
I had similar problems with a project, make sure that your additional
include paths are full path, not just relative path. For example if
you have a folder named "Headers" in the same folder of your project
and want to add it to your include paths, write "$(SRCROOT)/Headers"
not just "Headers" in the Header Search Path field of your target
inspector.
This fixed all my dependency problems, I hope that it will help you.
Sandy.
_______________________________________________
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.