Re: extend existing build settings with build style
Re: extend existing build settings with build style
- Subject: Re: extend existing build settings with build style
- From: email@hidden
- Date: Thu, 15 Jul 2004 18:24:21 +0200
Hi Joar,
setting in build styles OTHER_CFLAGS to "-DDEBUG_BUILD $(OTHER_CFLAGS)"
causes the error:
OTHER_CFLAGS refers to itself...
It used to work so nicely in the PB with switching from '=' to '+=' in the
build style settings. Isn't there a way to accomplish this with Xcode?
Holger
j o a r <email@hidden> wrote on 15.07.2004 18:04:10:
> You can insert build settings from the target by using the $(value)
> directive in the build style.
>
> j o a r
>
> On 2004-07-15, at 17.43, email@hidden wrote:
>
> > recently I switched from ProjectBuilder to Xcode. In my old projects I
> > used build styles also to extend an existing build setting e.g. for a
> > certain target I set OTHER_CFLAGS = -DTHIS_TARGET_NEEDS_THIS_DEFINED
> > and
> > added in the build style Development simply OTHER_CFLAGS +=
> > -DDEBUG_BUILD
> > to enable special debug code.
> >
> > Since changing to Xcode I cannot find a possibility to add something
> > to an
> > existing build setting anymore. When trying to include $(OTHER_CFLAGS)
> > in
> > either one of the target or style settings it has not the effect I
> > wish.
> > When adding this to the style setting, it complains about a self
> > reference.
> >
> > btw. I'm still using the 'legacy targets' in Xcode and did not yet
> > convert.
> >
> > What can I do to get the behavior I want?
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.