Target issue: Preprocessor Macros Not Used in Precompiled Headers
Target issue: Preprocessor Macros Not Used in Precompiled Headers
- Subject: Target issue: Preprocessor Macros Not Used in Precompiled Headers
- From: Ulf Dunkel <email@hidden>
- Date: Tue, 18 Dec 2007 10:02:20 +0100
- Organization: invers Software
In an application target of my project, I wanted to use preprocessor
stuff like
#ifdef FOO
<FOO specific source code>
#endif
I have opened the target's info window. In "Build" I have scrolled to
"Preprocessor Macros Not Used in Precompiled Headers", clicked on
"Edit", left the already existing entry "$inherited)" and added a new
one where I only entered "FOO".
As various documentations tell, this should be enough to have FOO
defined for my sources. But I may have forgotten some magic powder or
stuff. What else do I have to do in order to be able and use "FOO" in my
sources like described above?
I also tried "FOO=BAR" or "FOO=1" and in my source files also
#if FOO
<bla>
#endif
Any hint is appreciated. Thanks in advance, Ulf
_______________________________________________
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