Boost logo

Boost Users :

Subject: Re: [Boost-users] How to suppress vcvarsall.bat call?
From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2009-03-08 17:55:41


   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ć


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