Steven Watanabe wrote:
On 10/02/2016 05:54 AM, Peter Dimov wrote:
Things are further complicated by the fact that Boost.Build no longer actually uses Visual Studio's vcvars32.bat file, it generates its own in %TMP%.
I looked at tools/build/src/tools/msvc.jam to try to figure out what it does, without much success.
Boost.Build runs vcvars32.bat once, calculates the changes that it made to the environment, and writes its own batch script that makes the same changes. The reason for this is that on some version of msvc, running vcvars32.bat on every compiler invocation causes a noticeable slowdown.
Thanks! And, to get back to the problem at hand, is there something that one can put into user-config.jam or site-config.jam to set the global 'include' and 'library-path' instead of passing them on the command line?