|
Boost-Build : |
Subject: [Boost-build] Difficulty configuring boost.build for MSVC 9.0
From: Ian Emmons (iemmons_at_[hidden])
Date: 2008-12-19 16:12:23
I have a jam file that works on Macintosh, and I'm now porting it to
Windows. In my user-config.jam file, the following entries work just
fine for Visual Studio 2005 (msvc-8.0) and 2003 (msvc-7.1):
using msvc
: 8.0
: # no c++ compile command
: # no features
;
using msvc
: 7.1
: # no c++ compile command
: # no features
;
However, when I try the analogous configuration for Visual Studio 2008
(msvc-9.0), bad things happen:
using msvc
: 9.0
: # no c++ compile command
: # no features
;
Specifically, bjam issues the command "cl" without previously invoking
the setup script, and so "cl" isn't on the path, and therefore fails.
I get the same result when I explicitly specify the setup script:
using msvc
: 9.0
: # no c++ compile command
: <setup>"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
\vcvarsall.bat"
;
Any idea what I'm doing wrong here?
Thanks,
Ian
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk