Boost logo

Boost-Build :

Subject: [Boost-build] Link test class to built library
From: Siim (siimannuk_at_[hidden])
Date: 2010-02-26 15:47:57


I'm really new to Boost Build and I have a project which contains of a few
libraries, each library has test classes. Now, I can compile a library into
a dll (on Windows for example) using something like this:

project MyProject
    : requirements <include>include
    : build-dir bin

lib MyLib1 : [ glob src/*.cpp ] ;

How can I build and link the test classes (so they would use the library
includes and link against the just-built library)?

# Builds the tests
#exe test-mylub : test/test-mylib.cpp <- HOW?


View this message in context:
Sent from the Boost - Build mailing list archive at

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