Boost logo

Boost-Build :

From: Mark Evans (evans_mark_at_[hidden])
Date: 2006-02-13 17:00:02


File this question in the just-curious folder:

In constructing a toolset with two variants, say d1 and d2, which both inherit from a base toolkit, say b, I was surprised that suffix bindings in toolset b, such as

type.set-generated-target-suffix EXE : <toolset>b : "txe" ;
type.set-generated-target-suffix OBJ : <toolset>b : o ;

are not propagated to the derived toolsets (d1 and d2) which say:

toolset.inherit d1 : b ;

and

toolset.inherit d2 : b ;

respectively. I have to say in d1.jam :

type.set-generated-target-suffix EXE : <toolset>d1 : "txe" ;
 type.set-generated-target-suffix OBJ : <toolset>d1 : o ;
 
to get the desired sufix bindings.

Was it intentional not to pass along suffix bindings to derived toolsets?



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