Include paths in XCode projects

dosadchy

Registered
Hello All,

i'm porting big project from Codewarior to XCode, unfortunatelly many source files include project header files using angle brackets (like #include <header.h>) instead of double-quotes. In XCode angle brackets means " search header in system folders", so header is not found eve if it is placed to folder existing in "Header Search Path" project setting.

I've found that USE_HEADERMAP setting should be added and set to true to allow searching if headers placed to <> in header search path. After adding USE_HEADERMAP headers are found, but in some cases I see strange behavior - #include <CarbonCore/Debugging.h> refers to Debugging.h in folder existing in Header Search Path even if it is not in CarbonCore folder.

Is it correct behavior? Can it be caused by "reciursive" flag set to tru for folder containing Debugging.h?
 
Back
Top