| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|---|
| 2 | |
|---|
| 3 | <html> |
|---|
| 4 | <head> |
|---|
| 5 | <meta name="generator" content= |
|---|
| 6 | "HTML Tidy for Linux/x86 (vers 1st September 2003), see www.w3.org"> |
|---|
| 7 | <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> |
|---|
| 8 | <link rel="stylesheet" type="text/css" href="../../../boost.css"> |
|---|
| 9 | |
|---|
| 10 | <title>Boost.Build - msvc toolset</title> |
|---|
| 11 | </head> |
|---|
| 12 | |
|---|
| 13 | <body link="#0000FF" vlink="#800080"> |
|---|
| 14 | <table border="0" cellpadding="7" cellspacing="0" width="100%" summary= |
|---|
| 15 | "header"> |
|---|
| 16 | <tr> |
|---|
| 17 | <td valign="top" width="300"> |
|---|
| 18 | <h3><a href="http://www.boost.org"><img height="86" width="277" alt= |
|---|
| 19 | "C++ Boost" src="../../../boost.png" border="0"></a></h3> |
|---|
| 20 | </td> |
|---|
| 21 | |
|---|
| 22 | <td valign="top"> |
|---|
| 23 | <h1 align="center">Boost.Build</h1> |
|---|
| 24 | |
|---|
| 25 | <h2 align="center">msvc toolset</h2> |
|---|
| 26 | </td> |
|---|
| 27 | </tr> |
|---|
| 28 | </table> |
|---|
| 29 | <hr> |
|---|
| 30 | |
|---|
| 31 | <h2>Introduction</h2> |
|---|
| 32 | |
|---|
| 33 | <p>Boost.Build's <a href="http://msdn.microsoft.com/visualc/">msvc</a> |
|---|
| 34 | toolset supports the Microsoft Visual C++ command-line tools on Microsoft |
|---|
| 35 | Windows. It supports any version of Visual C++, but in case you have more |
|---|
| 36 | than one version of Visual C++ installed, and you want to use both, the |
|---|
| 37 | additional <a href="vc7-tools.html">vc7</a> toolset can be used for Visual |
|---|
| 38 | C++ 7.0.</p> |
|---|
| 39 | |
|---|
| 40 | <h2><a name="configuration" id="configuration">Configuration |
|---|
| 41 | Variables</a></h2>The <code>msvc</code> toolset responds to the following |
|---|
| 42 | variables, which can be set in the environment or configured on the jam |
|---|
| 43 | command-line using <code>-s<i>VARIABLE_NAME</i>=</code><i>value</i>: |
|---|
| 44 | |
|---|
| 45 | <table border="1" summary="settings"> |
|---|
| 46 | <tr> |
|---|
| 47 | <th>Variable Name</th> |
|---|
| 48 | |
|---|
| 49 | <th>Semantics</th> |
|---|
| 50 | |
|---|
| 51 | <th>Default</th> |
|---|
| 52 | |
|---|
| 53 | <th>Notes</th> |
|---|
| 54 | </tr> |
|---|
| 55 | |
|---|
| 56 | <tr> |
|---|
| 57 | <td><code>MSVC_ROOT</code></td> |
|---|
| 58 | |
|---|
| 59 | <td>The path to the MSVC installation directory</td> |
|---|
| 60 | |
|---|
| 61 | <td> |
|---|
| 62 | <code>c:\Program Files\Microsoft Visual Studio\VC98</code></td> |
|---|
| 63 | |
|---|
| 64 | <td>If <code>MSVCDir</code> is set in the environment, the toolset will |
|---|
| 65 | assume <code>VCVARS32.BAT</code>has already been called, and will |
|---|
| 66 | ignore this variable.</td> |
|---|
| 67 | </tr> |
|---|
| 68 | |
|---|
| 69 | <tr> |
|---|
| 70 | <td><code>VISUALC</code></td> |
|---|
| 71 | |
|---|
| 72 | <td>The path to the MSVC installation directory</td> |
|---|
| 73 | |
|---|
| 74 | <td> |
|---|
| 75 | <code>c:\Program Files\Microsoft Visual C++\VC98</code></td> |
|---|
| 76 | |
|---|
| 77 | <td>If <code>MSVCDir</code> or <code>MSVC_ROOT</code> is set in the |
|---|
| 78 | environment, the toolset will assume <code>VCVARS32.BAT</code>has |
|---|
| 79 | already been called, and will ignore this variable.</td> |
|---|
| 80 | </tr> |
|---|
| 81 | </table> |
|---|
| 82 | <hr> |
|---|
| 83 | |
|---|
| 84 | <p>Revised |
|---|
| 85 | <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan --> |
|---|
| 86 | 14 May, 2002 <!--webbot bot="Timestamp" endspan i-checksum="39359" --></p> |
|---|
| 87 | |
|---|
| 88 | <p><small>Distributed under the Boost Software License, Version 1.0. (See |
|---|
| 89 | accompanying file <a href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or |
|---|
| 90 | copy at <a href= |
|---|
| 91 | "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> |
|---|
| 92 | </body> |
|---|
| 93 | </html> |
|---|