Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-02-24 04:23:44


Hi Matt,

> Is it possible to redefine the default values for features? For
> instance, I would like rtti off without having to have an rtti-off
> subdirectory in my build.

Yes, try the following:

import feature ;
feature.set-default rtti : off ;

A word of caution: don't do this with composite features like 'variant', it
won't work.

> Also I want to have a 'design' set of builds and a 'non-design' set.
> All the design build will do is add <define>DESIGN but I'd like to
> have a 'design-on' subfolder appear in my build tree then, much like
> the <rtti> or <link> features do. Is there any way to accomplish
> this?

Yes, try this:

import feature ;
feature.feature design : off on : composite propagated ;
feature.compose <design>on : <define>DESIGN ;

HTH,
Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk