3 Oct
2016
3 Oct
'16
5:45 a.m.
On 2 October 2016 at 19:59, Steven Watanabe
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.
I'm happy the cat is out of the bag. This seems very wrong to me, and the fact that this thread exists, proves it. It seems to me that the environment should be taken from environment set in the command shell from which bjam is run at the first invokation, as that is the environment that the user has created/selected. This gives maximum flexibility, while still addressing the concerns relating to build-speed. This is AFAICS also the approach that cmake takes, cmake has to be invoked from a vs prompt. Have a good day, degski