Boost logo

Boost-Build :

From: janssoaf (mail_at_[hidden])
Date: 2004-02-04 03:21:29


I'm trying to link against a framework which has been built with BBv2.
I experimented with lib targets like

lib Calcob :
: <name>Calcob <search>../TBLib/Library/CalcObject/msvc-6/debug
<toolset>msvc <variant>debug ;

but this is a rather clumsy solution because I have to write an entry
for every library and every build variant. Nor does it work when
specifying libs for different compiler versions:

lib Calcob :
: <name>Calcob <search>../TBLib/Library/CalcObject/msvc-6/debug
<toolset>msvc <toolset-msvc:version>6 <variant>debug ;

lib Calcob :
: <name>Calcob <search>../TBLib/Library/CalcObject/msvc-7.1/debug
<toolset>msvc <toolset-msvc:version>7.1 <variant>debug ;

yields the error "failed to build ./Calcob with properties ... because
no best-matching alternative could be found".

I think I'm looking for an easy way to let BBv2 search libraries based
on the requested build variant. How can this be done?



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at