$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Bjam outside Boost tree
From: Jean-Louis Leroy (jl_at_[hidden])
Date: 2009-10-06 18:51:20
> boost-install [...] I'm not sure
> that it will work correctly outside the boost tree, so you can safely
> define it in your Jamroot to do nothing.
Thanks; I deleted it and added a <source> feature, also used
$(boost-build) to find the test lib, now it works.
# build/Jamfile.v2:
project boost/rdb
: source-location ../src
;
SOURCES =
rdb odbc ;
lib boost_rdb
: $(SOURCES).cpp
: <include>../../..
;
# test/Jamfile.v2
import testing ;
project
: requirements
<library>../build//boost_rdb
<link>static
<include>../../..
;
{
test-suite "rdb"
: [ run test.cpp
$(boost-build)libs/test/build//boost_test_exec_monitor ]
:
;
}
[end of code]
J-L