Boost logo

Boost-Build :

From: Mikhail Glushenkov (bbman_at_[hidden])
Date: 2005-05-05 05:17:39


In my project, I use a lot of prebuilt libraries
and also compile it with three different
compilers, so I end up with something like this
in my thirdparty_libs/Jamfile:

lib ogg : : <file>./lib/msvc-7.1/liboggD.lib
<variant>debug <toolset>msvc
<toolset-msvc:version>7.1 ;
lib ogg : : <file>./lib/msvc-7.1/libogg.lib
<variant>release <toolset>msvc
<toolset-msvc:version>7.1 ;
lib ogg : : <file>./lib/msvc-6.0/liboggD.lib
<variant>debug <toolset>msvc
<toolset-msvc:version>6.0 ;
lib ogg : : <file>./lib/msvc-6.0/libogg.lib
<variant>release <toolset>msvc
<toolset-msvc:version>6.0 ;
lib ogg : : <file>./lib/gcc-3.4/liboggD.a
<variant>debug <toolset>gcc ;
lib ogg : : <file>./lib/gcc-3.4/libogg.a
<variant>release <toolset>gcc ;
[and so on and so on...]

And if you throw in various standard library and
threading types it becomes even worse.

It would be great if I could write something
like this:

lib ogg : :

where $(lib-file-extension) is .a for gcc and
.lib otherwise.

It's also not very cool that you have to write
<toolset>msvc <toolset-msvc:version>6.0 instead
of just <toolset>msvc-6.0.


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