Re: Problem with targets having different header files with the same name
Re: Problem with targets having different header files with the same name
- Subject: Re: Problem with targets having different header files with the same name
- From: Stephen Kay <email@hidden>
- Date: Sun, 02 Sep 2012 18:38:45 -0400
- Thread-topic: Problem with targets having different header files with the same name
on 9/2/12 5:55 PM, Fritz Anderson at email@hidden wrote:
> You're using Xcode 2.5, right? I'm extremely rusty on this, and going by
> memory, so take it as just something to try
>
> If it's not in the standard set, I seem to remember there was a + button that
> allowed you to add your own. Name: USE_HEADERMAP, value: NO.
Thanks. It wasn't in the standard set, but as you say, you can add it with
the '+' button.
So having done this, it *does* work for allowing you to include files in
targets that have the same name but different contents. And then you must
explicitly include paths to various source and header folders in the Search
Paths for the Project, and the unique folders in the search paths for the
targets.
However, one problem now seems to be:
I can build these two targets, and they each use the correct
"options_app_type.h" file during compilation (with different #defines inside
them) - I can tell that by the fact that they are compiling, and a few tests
with editing some source to see if the #defines are correct.
But, it's like the symbolics of Xcode doesn't know which target you are on.
Even though the second target links with the correct options_app_type.h
file, in the source, if I try to "jump to definition" of one of the #defines
that are in the options_app_type.h file, it goes to the wrong one.
Back in CodeWarrior, it would locate into the correct file, depending which
target was current....
Thanks,
- Stephen
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma-Lab :: developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
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