
8 Mar
2009
8 Mar
'09
9:55 p.m.
Hi Peter.
When compiling Boost 1.38.0 with this command, bjam 3.1.17 insists on calling vcvarsall.bat before executing the actual build commands.
bjam -q -sNO_COMPRESSION=1 --build-type=complete --abbreviate-paths --toolset=msvc-8.0 architecture=x86 address-model=32
However my environment already includes all necessary settings to execute cl, link,...
So I would like to skip the call to vcvarsall.bat. Is this possible using a bjam command line argument?
As I recall it is. When you initialize your msvc toolset pass it an empty <setup> property or something like that. Look at the init() rule in the msvc.jam toolset module for more detailed information. Hope this helps. Best regards, Jurko Gospodnetić