Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-03-20 03:42:47


HiOn Friday 17 March 2006 22:50, Motonari Ito wrote:

> I have a small project which consists of a static library, an executable,
> and unit test. (LIST-1, and attachment)
>
> Now, I want to run unit test whenever source files of the library are
> modified.
>
> It works fine if bjam is started at [root] as LIST-2.
>
> However, it does not work if it's started at [executable] as LIST-3.
>
> Could you please give me any idea how to solve this?

Hi,
I actually don't understand the problem. When you run "bjam" in "executable"
directory, it means you want to update only targets defined there and
dependencies of those targets. So you get the "executable" built, and you
get ..//foo built. Nothing asks for the unit test to be built.

Why do you expect the unit test to be built in this case?

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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