Boost logo

Boost-Build :

From: janssoaf (mail_at_[hidden])
Date: 2004-02-04 06:28:35


Volodya,

> You can save some typing with
>
> for local lib in Calcon another yet_another
> {
> for local variant in debug release
> {
> lib $(lib) : ......... : .... <variant>$(variant) ;
> }
> }

Thanks, that certainly makes declaring the libs much more feasible.

> How do you initialize "msvc"? If you ever wrote
>
> using msvc ;
>
> (without version), then V2 does not not know what version msvc is
and can't
> decide what alternative to use. You should declare msvc only with
specific
> version for selection to work.

In my user-config.jam I have

using msvc : 6 ;
using msvc : 7.1 ;

but specifying libs which differ in <toolset-msvc:version> doesn't
work.

> For now, it's required to declare all the variants. Do you have
better
> suggestions?

I thought this might be solved with special types of targets but I'm
still lost when looking at BB source code.

Olaf

 


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