Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-06-24 07:46:09

I'm having a proble related to 'print.text' rule. The scenario is that on
borland we invoke:

response-file-1 $(target) : $(sources[1]) ;
print.output $(target) ;
print.text ......

and it does not work quite right. The 'response-file-1' action overwrites
file. It's expected that print.text actions are executed later. But they are
executed first, so whatever text is printed is overwritten by
'response-file-1'. I think it's not possible to avoid response-file-1 and
pass everything via print.text, since the targets won't be correctly bound in
that case.

I've kinda worked this around --- see the commit email --- but not sure it's
right. Could you take a look?
Especially, the comment for 'prefix-or-suffix' parameter of 'print.text' is
too brief -- I could not understand the purpose of it.

- Volodya


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