Boost logo

Boost-Build :

From: Artem Alimarine (artem_at_[hidden])
Date: 2006-08-11 12:53:48

The code below seems to do what I wanted.

In the code below build of the executable hello triggers the tested
build of the library. The tests are exeuted automatically if the library
needs to be rebuilt.

lib hello_lib : ... ;
unit-test hello_test
     : hello_test.cpp

alias hello_lib_tested : hello_lib : : : <dependency>hello_test ;

exe hello : hello.cpp hello_lib_tested ;


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