Header Search Paths / Multiple Header Files with the same name
Header Search Paths / Multiple Header Files with the same name
- Subject: Header Search Paths / Multiple Header Files with the same name
- From: Aaron Kobayashi <email@hidden>
- Date: Fri, 14 Jul 2006 15:23:12 -0500
I'm currently working on a project that involves a large number of
files and targets. I'm running into some trouble compiling because
the project has overlapping header file names. There has been other
topics on this list relating to this, but I haven't seen any
definitive answer, so I'm posting it here.
Example:
File group 1 has the file File_a.h
File group 2 also has the file File_a.h
A source file in Target 1 needs to include the File_a.h from file
group 1.
A source file in Target 2 needs to use the File_a.h from Group 2
How can I specify which header is matched when doing #include
"File_a.h" in a source file? I've tried using the "User Header
Search Path" build option for each target, but that doesn't seem to
help the situation. I want to avoid having to use multiple projects
as the XCode documentation seems to recommend the "one project
multiple targets" paradigm over the "multiple projects hierarchy"
approach
Thanks,
Aaron K.
_______________________________________________
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