Re: OTHER_CFLAGS being silently ignored
Re: OTHER_CFLAGS being silently ignored
- Subject: Re: OTHER_CFLAGS being silently ignored
- From: Greg Hurrell <email@hidden>
- Date: Thu, 12 Dec 2002 09:14:09 +1030
El Thursday, 12 December, 2002, a las 07:22 AM, matt neuburg escribis:
On Thu, 12 Dec 2002 03:57:14 +1030, Greg Hurrell <email@hidden>
said:
Has anyone else ever had a problem with the OTHER_CFLAGS field in
Project Builder's Expert build settings silently ignoring the
settings?
Specifically, I have a line like this in my OTHER_CFLAGS build
settings:
-DDEBUG
I do this all the time (couldn't live without it, actually) and have
never had a problem with it. I'm not quite sure what you're doing in
the Expert area. You typically don't need to work there except to read
a conspectus of your settings entered in the other panes. Simply type
-DDEBUG in the Other C Compiler Flags area of the target's GCC
Compiler settings pane.
Then you can override this in a particular build style (e.g.
Deployment) by entering OTHER_CFLAGS = -UDEBUG in the build settings
for just that build style.
Finally got it working: I tried all sorts of fiddling (no end of
deleting/resetting, and cleaning/building, quitting/restarting etc),
and in the end the trick that finally did it was to delete a target
dependency I had and then add the dependency back in...
cheers :-)
Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.