Boost logo

Boost-Build :

From: Claudio Pacciarini (clau3107_at_[hidden])
Date: 2005-12-31 22:28:04


I want to unit test my programs. For this, I want to use
After reading this:

I've come up with these two lines in a Jamfile, to specify the proper static
library in Linux depending on the variant:

lib boost_unit_test : : <name>boost_unit_test_framework-mt-gd <variant>debug
lib boost_unit_test : : <name>boost_unit_test_framework-mt <variant>release

So far so good. Now problem is when I try to build on Windows; I'm forced to
change the above lines like this:

lib boost_unit_test : : <name>libboost_unit_test_framework-mt-gd
<variant>debug ;
lib boost_unit_test : : <name>libboost_unit_test_framework-mt
<variant>release ;

(Note the "lib" I had to add after the "<name>" part).

Is there any way to have bjam prefix libraries with "lib" if I'm building in
Thanks and happy New Year!


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