Boost logo

Boost Users :

Subject: Re: [Boost-users] How to suppress vcvarsall.bat call?
From: Peter Klotz (peter.klotz_at_[hidden])
Date: 2009-03-09 13:16:32


Jurko Gospodnetić wrote:
> 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.
>

Property <setup> is mentioned in msvc.jam but neither "--setup=" nor
"setup=" works.

Can you give me any advice on the command line syntax?

Regards, Peter.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net