Boost logo

Boost-Build :

From: Andrei Melnikov (andy.melnikov_at_[hidden])
Date: 2006-06-01 12:33:06


Hi all,

1) I'm back. I hope someone still remembers me.
2) I have a problem

I invoke bjam from MCVC 2005 using a makefile project. When I get
compilation errors, they are parsed ok and added to Errors pane, but
I'm unable to click the errors and navigate to exact line of code.

I have sln and vcproj files in other directory than my Jamroot (in
"vc" subdirectory):

project/vc/main.sln
project/vc/main.vcproj
project/Jamroot
project/main.cpp

When I invoke bjam, I have to change current directory from
project/vc/ to project/ first, so bjam can find Jamroot. And when
cl.exe is invoked, it writes the following command:

main.cpp(7) : warning C4101: 'r' : unreferenced local variable

When I click this line, vc opens project/vc/main.cpp instead of
project/main.cpp because it thinks that paths in output messages are
relative to the folder where vcproj is located.

What is the best way to fix this?

I think this confusion would be fixed if I could invoke bjam from
project/vc current folder and pass it Jamroot location explicitly. Is
this possible?

Andrey


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk