Boost logo

Boost-Build :

Subject: [Boost-build] build-project in its own directory
From: Anatoli Sakhnik (sakhnik_at_[hidden])
Date: 2009-10-22 05:20:53

Hi there!

I have plenty of executables each residing in its own directory.
They're built from the Jamroot using the rule build-project. Every
executable somehow uses the macro __FILE__ to enrich log messages.

Now, when a project is built in its own directory separately, the
macro __FILE__ contains the name of the file relative to the project's
Jamfile. But when building the whole suite, the macro contains the
whole path from the Jamroot.

Is there a way to let every project be built in its own directory when
building the whole suite?

Anatoli Sakhnik

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