From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-07-03 03:15:51
David Abrahams wrote:
> > But then you lose the ability to do some sanity checking.
> > You can type
> > <toolset>msvc
> > <toolset>mvsc
> > in some condition (maybe even deeply nested)
> This makes no sense to me. Nothing you're showing looks like a
> conditional property.
As I've mentioned in another post, requirements in alternatives can be used to
implement effect similiar to conditional properties:
lib a : msvc.cpp : <toolset>mvsc ;
lib a : gcc.cpp : <toolset>gcc ;
The first line has a typo, and the first alternative will never be selected,
which would probably take some time to diagnose.
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