|
Boost-Build : |
From: Claudio Pacciarini (clau3107_at_[hidden])
Date: 2005-12-31 22:28:04
Hello.
I want to unit test my programs. For this, I want to use
boost_unit_test_framework.
After reading this:
http://www.boost.org/doc/html/bbv2/tutorial/prebuilt.html
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
Windows?
Thanks and happy New Year!
Claudio
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