Boost logo

Boost-Build :

From: W Eryk Wolski (wewolski_at_[hidden])
Date: 2008-05-27 08:11:32


Dear bjam users,

Insteat of executing

g++ -lcppunit ComplexNumberTest.cpp UnitTest.cpp -o UnitTest

I want to use bjam to compile the unit tests.

All includes and libaries are located in /usr/include and /usr/lib

In the Jamroot file in the test directory
I specified

exe UnitTest : [ glob *.cpp ];

How to specify the -lcppunit compiler option; that the cpp files should be
linked againt the libccpunit library?

I made several tries with //cppunit <lib> <find-library> etc. etc. but could
not get it compiled.

Thanks

-- 
W. Eryk Wolski


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