XCode 2.1 Other C flags not working?
XCode 2.1 Other C flags not working?
- Subject: XCode 2.1 Other C flags not working?
- From: Wade Williams <email@hidden>
- Date: Wed, 8 Jun 2005 16:41:19 -0500
Hopefully, I'm not missing something incredibly simple.
I've just installed XCode 2.1.
I created a new test Cocoa app. I defined Other C Flags in the debug
configuration to be "-Dmyflag". I did this in a header:
#if !defined(myflag)
#error flag not defined
#endif
I ran a build using the Debug configuration. It stopped with an
#error. I also checked the output of the command line and did not
see the -Dmyflag passed anywhere in the command-line output.
Am I missing something simple? Is there some reason the
configuration "Other C flags" did not cascade down to my target's
build? (Obviously, I could define it in the target, but I don't want
to have to define it in every target.)
Has anyone else seen this?
Wade
_______________________________________________
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