Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-11-15 06:14:18

Vladimir Prus wrote:
>On Tuesday 15 November 2005 13:33, Zbynek Winkler wrote:
> > >>Q: How do I add to an already composed feature?
> > >
> > >You can't. That's why NDEBUG define is specified in the definition of
> > >"release" variant and not later.
> >
> > If there is some "base project" where all user projects are "inherited"
> > from, you could say:
>There is -- user-config.jam is just such universal parent, and putting the
>above there should work. As usual, CVS only :-(

You could have:

flags msvc.compile CFLAGS <variant>debug : /D_DEBUG ;

but that wouldn't add it to the response file and is limited to the specific
toolset. It would be useful to do something like:

property.add <variant>debug : <define>_DEBUG ;

to allow helper toolsets (such as SDKs) add additional properties in a
generic way.

- Reece

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at