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?

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
Boost.Build V2:

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