$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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
hello_lib
$(BOOST_ROOT)//unit_test_framework/<link>static
;
alias hello_lib_tested : hello_lib : : : <dependency>hello_test ;
exe hello : hello.cpp hello_lib_tested ;
Artem