Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-05-03 07:56:05

"Alexey Syomichev" <asyomichev_at_[hidden]> writes:

> --- In jamboost_at_[hidden], David Abrahams <dave_at_b...> wrote:
>> In v2, MSVC compilations use response files for everything,
> including
>> command-line options... and the response files are deleted, even
> when
>> compilation fails.
> Funny thing is, .rsp stays there if compilation is successful, and
> gets deleted automatically by bjam if compilation fails - the opposite
> of the desired behavior.

The right answer is to do it the way we did in BBv1 (and I don't know
why it was changed): make the .rsp file into a separate Jam target on
which the result of the compilation depends. If you want to get rid
of the .rsp, you can do something like:

cl @whatever.rsp && del /q whatever.rsp

Dave Abrahams
Boost Consulting

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