Boost logo

Boost-Build :

Subject: Re: [Boost-build] conditional feature on Microsoft compiler version?
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-10-06 02:32:05


Joshua Napoli wrote:

> Is there any way to make a feature conditional on the Microsoft compiler
> version. I want to write something like this:
>
> <toolset>msvc-6.0:<include>spirit-1.6.4&&boost

This is supposed to work. Note that it's possible to specify custom version for
toolchain in user-config.jam, for example 17.3, in which case this condition
won't work.

> Also, is there any way to ensure that one include feature is emitted before
> another? For example "<include>spirit&&boost" will output spirit and boost
> includes in order, but if another dependency has a plain "<include>boost",
> then boost will end up with two "-I" options, one preceeding and one
> following the "-Ispirit" (which is obviously not what I want).

I don't think anything special is done to address this situation. Can you
suggest specific behaviour you would like implemented?

- 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