Boost logo

Boost-Build :

From: Matt Shepcar (scabby5uk_at_[hidden])
Date: 2004-02-21 11:01:23


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.

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

My current workaround (which achieves mostly the result i want) is

variant defdebug : debug : <link>static <rtti>off ;
variant defrelease : release : <link>static <rtti>off ;
variant designdebug : defdebug : <define>_DESIGN ;
variant designrelease : defrelease : <define>_DESIGN ;
variant dx9debug : defdebug : <toolset>msvc ;
variant dx9release : defrelease : <toolset>msvc ;
variant dx9designdebug : designdebug : <toolset>msvc ;
variant dx9designrelease : designrelease : <toolset>msvc ;
variant pspdebug : defdebug : <toolset>pspsnc ;
variant psprelease : defrelease : <toolset>pspsnc ;
variant pspdesigndebug : designdebug : <toolset>pspsnc ;
variant pspdesignrelease : designrelease : <toolset>pspsnc ;

project GameEngine
: build-dir bin
: requirements
: default-build

I'm sure there must be a better way to do this? :)



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