Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-16 03:54:37

Hi Toon,
> I need to include some directories that are subdirectories of the
> 'Program Files' directory. I'm not very experienced with bjam on windows
> and now I have trouble with these paths.
> For instance when I run 'bjam -d2' I get following output and errors.
> The target I'm compiling below has a dependency on 'flexlm_headers' in
> my user-config.jam (attached).

Could you try the attached patch?

> Additionally I would like to ask how I can debug this exactly. The .rsp
> files are removed when the command fails so I can't see exactly what was
> in the file (except for looking at the output of bjam -d2).

That's bad, I suspect we eventually need "PRECIOUS" targets, which are not

> And one additional question: apparantly the include directories are
> specified with the '-I' option. Should'nt that be '/I' with msvc ? (you
> can tell I'm a rookie on msvc, can't you ;-)

;-) I think V1 uses -I that that's the reason V2 uses -I too. Seems to work.

- Volodya
 --Boundary-00=_O1UwBwjbX4K158P Content-Type: text/x-diff;
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;

Index: util/print.jam
RCS file: /cvsroot/boost/boost/tools/build/v2/util/print.jam,v
retrieving revision 1.26
diff -u -r1.26 print.jam
--- util/print.jam 3 Dec 2004 10:46:05 -0000 1.26
+++ util/print.jam 16 Dec 2004 08:49:58 -0000
@@ -428,7 +428,7 @@
if $(string) || $(string) != ""
local escaped = [ regex.escape $(string) : "&|()<>^" : "^" ] ;
- return "echo $(escaped)" ;
+ return "echo \"$(escaped)\"" ;

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