Boost logo

Boost-Build :

From: Zbynek Winkler (zwin_at_[hidden])
Date: 2003-11-27 17:30:43


I am once again lost. I am tring to convert a project using cppunit to
bb2. I've set up everything according to the documentation and it kind
of works.

In the docs there is an example of using prebuilt libraries with zlib.

lib zlib : : <name>z <search>/opt/lib ;

Where does this line go? To which file? In my project-specific jamfiles
I'd like to say that I want to use cppunit. Where exactly this library
lives is not my concern at this time - it is system dependent. Does the
search path go to the site-config.jam? I get some syntax error when
trying to put it there.

Can I create a Jamfile for my project like this?

unit-test test
: test.cpp
: <library>cppunit

And add something like the following to the site-config.jam?

lib cppunit : : <name>cppunit <search>/path/to/lib <variant>release ;
lib cppunit : : <name>cppunitd <search>/path/to/lib <variant>debug ;

Thanks for your time.

Faculty of Mathematics and Physics, Charles University, Prague, Czech 

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