Boost logo

Boost-Build :

Subject: Re: [Boost-build] build-project in its own directory
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-10-22 12:20:45


Anatoli Sakhnik wrote:
> 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?

No there isn't. All targets are built from the current working directory.
I recall seeing an open ticket for this...

In Christ,
Steven Watanabe

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