Make sure there isn't a setting called "Preprocessor Macros". This is the same as GCC_PREPROCESSOR_DEFINITIONS .
Up vote 3 down vote favorite 2 share g+ share fb share tw.
I want to set GCC_PREPROCESSOR_DEFINITIONS for each of my four build configurations (Debug, Release, Ad Hoc, and Distribution. ) I'd like to have a different setting for each. The screen I'm looking at is the Target Info window's "Build" tab.
When I set the Configuration pop-up to "Debug" I can see my GCC_PREPROCESSOR_DEFINITIONS setting there. When I switch to "Release," or any of the other configurations, it's no longer visible. Yet when I try to add it to those configurations, it says GCC_PREPROCESSOR_DEFINITIONS already exists, and that I can't add it again.
As I said, I want to have a different setting for my various builds. How can I accomplish this? Thanks very much.
Iphone xcode build preprocessor link|improve this question asked Oct 8 '09 at 20:43Greg Maletic7961827 56% accept rate.
Make sure there isn't a setting called "Preprocessor Macros". This is the same as GCC_PREPROCESSOR_DEFINITIONS.
That's it! Thanks very much. My only confusion now is: why is "Preprocessor Macros" not listed under my DEBUG configuration, but listed under every other configuration?
How can I change that? Thanks again! – Greg Maletic Oct 8 '09 at 21:53 That question I for not have an answer for.
Sorry, but I'm glad I could help you on the other thing. – Cory Kilger Oct 8 '09 at 21:56 1 The answer to that is in the other thread. By the way, posting a picture of what you are seeing would really help diagnose it faster.
– cdespinosa Oct 9 '09 at 5:54.
OTHER_CFLAGS if I understood the question right. And pass your defines like -DDEBUG or something. And yes, if you need to assign a value to a macro, you could do something like this - '-DSOME_MESSAGE=@" World!
"'. Note ' symbols around - they are required. SOME_MESSAGE macro will be defined with @" World!
" value.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.