Boost logo

Boost Users :

Subject: Re: [Boost-users] How to suppress vcvarsall.bat call?
From: Peter Klotz (peter.klotz_at_[hidden])
Date: 2009-03-11 12:55:14


Rene Rivera wrote:
> Peter Klotz wrote:
>> Property <setup> is mentioned in msvc.jam but neither "--setup=" nor
>> "setup=" works.
>>
>> Can you give me any advice on the command line syntax?
>
> It's not possible to configure that from the command line. You need to
> set up a "user-config.jam" with a special msvc toolset configuration.
> See the BB configuration docs <http://tinyurl.com/78kcq7> for details on
> how to do that.

Thanks a lot, this solved my problem.

Here are the necessary steps in case anyone ever needs something similar:

Create a file called user-config.jam in directory %USERPROFILE% and an
empty bjam.bat file in directory C:\.

user-config.jam has to contain this line:

using msvc : 8.0 : : <setup>"C:\\bjam.bat" ;

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