Boost logo

Boost-Build :

From: Zhon Johansen (zhon.johansen_at_[hidden])
Date: 2005-11-22 20:17:17


Hello guys,

Thank you for all your hard work.

I have a question about inheriting variants. I am using BBv2 cvs version

Jamfile snippet:

variant HerRelease : release : <define>HER_RELEASE ;
variant HisRelease : release : <define>HIS_RELEASE ;

project
   : requirements
   <variant>release:<toolset>mvsc:,<define>/RTC1
   ;

I would expect when I compile with variant HerRelease and Microsoft I
would have /RTC1

Is this a bug? Should I expect variants to inherit? Obviously, I can
have the following duplication:

   <variant>HerRelease:<toolset>mvsc:,<define>/RTC1
   <variant>HisRelease:<toolset>mvsc:,<define>/RTC1

thanks,

Zhon


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