Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-11-28 01:28:22

Hi Zbynek,

> 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.


help with it?

> 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 ;

Yea, it's possible, though the docs I've referred two ask you to add a couple
of auxilliary lines to site-config.jam.



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