mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Added new vc7-stlport and vc7.1-stlport toolsets.
[SVN r21357]
This commit is contained in:
129
v1/vc7-stlport-tools.html
Normal file
129
v1/vc7-stlport-tools.html
Normal file
@@ -0,0 +1,129 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Boost.Build - msvc-stlport toolset</title>
|
||||
<meta name="generator" content="HTML Tidy for Linux/x86 (vers 1st September 2003), see www.w3.org">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<link rel="stylesheet" type="text/css" href="../../../boost.css">
|
||||
</head>
|
||||
<body link="#0000ff" vlink="#800080">
|
||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary="header">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td valign="top" width="300">
|
||||
<h3><a href="http://www.boost.org/"><img height="86" width="277" alt="C++ Boost" src="../../../c++boost.gif" border="0"></a></h3>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<h1 align="center">Boost.Build</h1>
|
||||
<h2 align="center">vc7-stlport toolset</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<hr>
|
||||
<h2>Introduction</h2>
|
||||
<p>Boost.Build's <a href="http://msdn.microsoft.com/visualc/">vc7-stlport</a> toolset
|
||||
supports the Microsoft <a href="http://msdn.microsoft.com/visualc/">Visual C++</a>
|
||||
.NET command-line tools, using the <a href="http://www.stlport.org">STLport</a>
|
||||
standard library implementation on Microsoft Windows. It is designed to allow
|
||||
you to build and test with multiple installed versions of STLPort, so that
|
||||
objects build in each configuration will be built into separate directories.</p>
|
||||
<h2><a name="configuration">Configuration Variables</a></h2>
|
||||
The <code>vc7-stlport</code> toolset responds to the following variables, which
|
||||
can be set in the environment or configured on the jam command-line using <code>-s<i>VARIABLE_NAME</i>=</code><i>value</i>.
|
||||
It is an extension of the <a href="file://C:\data\boost\develop\boost\tools\build\v1\msvc-stlport-tools.html">
|
||||
msvc-stlport toolset</a> and therefore responds to all of the MSVC <a href="msvc-tools.html#configuration">
|
||||
configuration variables</a> in addition to those listed below.
|
||||
<p>In the table below, <i>version</i> corresponds to an STLPort version number,
|
||||
e.g. "<code>4.5.3</code>".</p>
|
||||
<table border="1" summary="settings">
|
||||
<tr>
|
||||
<th>
|
||||
Variable Name</th>
|
||||
<th>
|
||||
Semantics</th>
|
||||
<th>
|
||||
Default</th>
|
||||
<th>
|
||||
Notes</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>STLPORT_PATH</code></td>
|
||||
<td>A directory containing at least one subdirectory of the form <code>/STLPort-</code><i>version</i>
|
||||
where an STLPort installation can be found.</td>
|
||||
<td><i>empty</i></td>
|
||||
<td>Allows easy configuration for an installation where several STLPort versions
|
||||
are installed under a single directory.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>STLPORT_</code><i>version</i><code>_PATH</code></td>
|
||||
<td>The directory where the specific STLPort <i>version</i> installation can be
|
||||
found, in case there is no central location appropriate for <code>STLPORT_PATH</code>,
|
||||
above, or a particular version's installation is not located in the usual
|
||||
place.</td>
|
||||
<td><i>empty</i></td>
|
||||
<td>Allows configuration of a specific STLPort installation.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>STLPORT_VERSION</code></td>
|
||||
<td>The version of STLPort in use by default.</td>
|
||||
<td><code>4.6</code></td>
|
||||
<td>Other values can be selected in parallel setting the <a href="build_system.htm#initiating">
|
||||
build property</a> <stlport-version> to values from the list of <code>$(STLPORT_VERSIONS)</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>STLPORT_VERSIONS</code></td>
|
||||
<td>A space-separated list of alternate versions of STLport available on this
|
||||
machine.</td>
|
||||
<td><code>4.6 4.5 4.0</code></td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2><a name="features">Toolset-Specific Features</a></h2>
|
||||
The following vc7 <code>-stlport</code>-specific <a href="build_system.htm#features">
|
||||
features</a> can be used in target build requirements or in the <a href="build_system.htm#initiating">
|
||||
<code>BUILD</code></a> variable:
|
||||
<table border="1" summary="features">
|
||||
<tr>
|
||||
<th>
|
||||
Feature</th>
|
||||
<th>
|
||||
Values</th>
|
||||
<th>
|
||||
Default</th>
|
||||
<th>
|
||||
Semantics</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>native-wchar_t</code></td>
|
||||
<td><code>off on</code></td>
|
||||
<td><code>off</code></td>
|
||||
<td>Controls whether wchar_t is an intrinsic type or not. This is off by
|
||||
default since that's the way STLPort builds itself. Turning this on may
|
||||
result in unresolved externals from STLPort, unless you rebuild STLPort with
|
||||
/Zc:wchar_t.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>stlport-version</code></td>
|
||||
<td><code>$(STLPORT_VERSION) $(STLPORT_VERSIONS)</code> (see above)</td>
|
||||
<td><code>$(STLPORT_VERSION)</code></td>
|
||||
<td>Selects a version of STLPort for each target</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>stlport-cstd-namespace</code></td>
|
||||
<td><code>std global</code></td>
|
||||
<td><code>std</code></td>
|
||||
<td>Controls whether or not names from the "C" library headers such as
|
||||
<cstdlib> are imported into <code>namespace std</code>.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
<p>Revised
|
||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||||
20 Dec 2003 <!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
||||
<P>Copyright © Dave Abrahams 2002.</P>
|
||||
<P>Copyright © John Maddock 2003.</P>
|
||||
<p><small>Use, modification, and distribution are subject to the Boost Software
|
||||
License, Version 1.0. (See accompanying file <a href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
|
||||
or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
|
||||
</body>
|
||||
</html>
|
||||
31
v1/vc7-stlport-tools.jam
Normal file
31
v1/vc7-stlport-tools.jam
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
# This is simply an extension to the msvc-stlport toolset. However,
|
||||
# STLPort doesn't support <stlport-iostream>off with vc7.
|
||||
# This is essentially a usage-requirement on the stlport library.
|
||||
local gBUILD_PROPERTIES = [ difference $(gBUILD_PROPERTIES) : <stlport-iostream>off ] <stlport-iostream>on ;
|
||||
STLPORT_VERSION ?= 4.6 ;
|
||||
extends-toolset msvc-stlport ;
|
||||
}
|
||||
|
||||
# singleton variables...
|
||||
set-as-singleton VC7_ROOT ;
|
||||
|
||||
if ! $(MSVCDir)
|
||||
{
|
||||
ProgramFiles ?= $(PROGRAMFILES) ;
|
||||
VC7_ROOT ?= $(ProgramFiles:J=" ")"\\Microsoft Visual Studio .NET\\VC7" ;
|
||||
VC_TOOL_PATH = "$(VC7_ROOT)"\\bin\\ ;
|
||||
VC_SETUP = "CALL \"$(VC_TOOL_PATH)VCVARS32.BAT\" >nul" ;
|
||||
}
|
||||
VC_PDB_NAME = vc70 ;
|
||||
|
||||
feature native-wchar_t : off on ;
|
||||
|
||||
flags vc7 CFLAGS : /Op ;
|
||||
flags vc7 C++FLAGS : /Zc:forScope ;
|
||||
flags vc7 C++FLAGS <native-wchar_t>on : /Zc:wchar_t ;
|
||||
|
||||
# The following #// line will be used by the regression test table generation
|
||||
# program as the column heading for HTML tables. Must not include version number.
|
||||
#//<a href="http://msdn.microsoft.com/vstudio/default.asp">Micro-<br>soft<br>VC++</a><br><a href="http://www.stlport.org/">STLport</a>
|
||||
|
||||
129
v1/vc7.1-stlport-tools.html
Normal file
129
v1/vc7.1-stlport-tools.html
Normal file
@@ -0,0 +1,129 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Boost.Build - msvc-stlport toolset</title>
|
||||
<meta name="generator" content="HTML Tidy for Linux/x86 (vers 1st September 2003), see www.w3.org">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<link rel="stylesheet" type="text/css" href="../../../boost.css">
|
||||
</head>
|
||||
<body link="#0000ff" vlink="#800080">
|
||||
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary="header">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td valign="top" width="300">
|
||||
<h3><a href="http://www.boost.org/"><img height="86" width="277" alt="C++ Boost" src="../../../c++boost.gif" border="0"></a></h3>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<h1 align="center">Boost.Build</h1>
|
||||
<h2 align="center">vc7.1-stlport toolset</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<hr>
|
||||
<h2>Introduction</h2>
|
||||
<p>Boost.Build's <a href="http://msdn.microsoft.com/visualc/">vc7.1-stlport</a> toolset
|
||||
supports the Microsoft <a href="http://msdn.microsoft.com/visualc/">Visual C++</a>
|
||||
.NET 2003 command-line tools, using the <a href="http://www.stlport.org">STLport</a>
|
||||
standard library implementation on Microsoft Windows. It is designed to allow
|
||||
you to build and test with multiple installed versions of STLPort, so that
|
||||
objects build in each configuration will be built into separate directories.</p>
|
||||
<h2><a name="configuration">Configuration Variables</a></h2>
|
||||
The <code>vc7.1-stlport</code> toolset responds to the following variables,
|
||||
which can be set in the environment or configured on the jam command-line using <code>
|
||||
-s<i>VARIABLE_NAME</i>=</code><i>value</i>. It is an extension of the <a href="file://C:\data\boost\develop\boost\tools\build\v1\msvc-stlport-tools.html">
|
||||
msvc-stlport toolset</a> and therefore responds to all of the MSVC <a href="msvc-tools.html#configuration">
|
||||
configuration variables</a> in addition to those listed below.
|
||||
<p>In the table below, <i>version</i> corresponds to an STLPort version number,
|
||||
e.g. "<code>4.5.3</code>".</p>
|
||||
<table border="1" summary="settings">
|
||||
<tr>
|
||||
<th>
|
||||
Variable Name</th>
|
||||
<th>
|
||||
Semantics</th>
|
||||
<th>
|
||||
Default</th>
|
||||
<th>
|
||||
Notes</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>STLPORT_PATH</code></td>
|
||||
<td>A directory containing at least one subdirectory of the form <code>/STLPort-</code><i>version</i>
|
||||
where an STLPort installation can be found.</td>
|
||||
<td><i>empty</i></td>
|
||||
<td>Allows easy configuration for an installation where several STLPort versions
|
||||
are installed under a single directory.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>STLPORT_</code><i>version</i><code>_PATH</code></td>
|
||||
<td>The directory where the specific STLPort <i>version</i> installation can be
|
||||
found, in case there is no central location appropriate for <code>STLPORT_PATH</code>,
|
||||
above, or a particular version's installation is not located in the usual
|
||||
place.</td>
|
||||
<td><i>empty</i></td>
|
||||
<td>Allows configuration of a specific STLPort installation.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>STLPORT_VERSION</code></td>
|
||||
<td>The version of STLPort in use by default.</td>
|
||||
<td><code>4.6</code></td>
|
||||
<td>Other values can be selected in parallel setting the <a href="build_system.htm#initiating">
|
||||
build property</a> <stlport-version> to values from the list of <code>$(STLPORT_VERSIONS)</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>STLPORT_VERSIONS</code></td>
|
||||
<td>A space-separated list of alternate versions of STLport available on this
|
||||
machine.</td>
|
||||
<td><code>4.6 4.5 4.0</code></td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2><a name="features">Toolset-Specific Features</a></h2>
|
||||
The following vc7 <code>-stlport</code>-specific <a href="build_system.htm#features">
|
||||
features</a> can be used in target build requirements or in the <a href="build_system.htm#initiating">
|
||||
<code>BUILD</code></a> variable:
|
||||
<table border="1" summary="features">
|
||||
<tr>
|
||||
<th>
|
||||
Feature</th>
|
||||
<th>
|
||||
Values</th>
|
||||
<th>
|
||||
Default</th>
|
||||
<th>
|
||||
Semantics</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>native-wchar_t</code></td>
|
||||
<td><code>off on</code></td>
|
||||
<td><code>off</code></td>
|
||||
<td>Controls whether wchar_t is an intrinsic type or not. This is off by
|
||||
default since that's the way STLPort builds itself. Turning this on may
|
||||
result in unresolved externals from STLPort, unless you rebuild STLPort with
|
||||
/Zc:wchar_t.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>stlport-version</code></td>
|
||||
<td><code>$(STLPORT_VERSION) $(STLPORT_VERSIONS)</code> (see above)</td>
|
||||
<td><code>$(STLPORT_VERSION)</code></td>
|
||||
<td>Selects a version of STLPort for each target</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>stlport-cstd-namespace</code></td>
|
||||
<td><code>std global</code></td>
|
||||
<td><code>std</code></td>
|
||||
<td>Controls whether or not names from the "C" library headers such as
|
||||
<cstdlib> are imported into <code>namespace std</code>.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
<p>Revised
|
||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||||
20 Dec 2003 <!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
||||
<P>Copyright © Dave Abrahams 2002.</P>
|
||||
<P>Copyright © John Maddock 2003.</P>
|
||||
<p><small>Use, modification, and distribution are subject to the Boost Software
|
||||
License, Version 1.0. (See accompanying file <a href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
|
||||
or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
|
||||
</body>
|
||||
</html>
|
||||
33
v1/vc7.1-stlport-tools.jam
Normal file
33
v1/vc7.1-stlport-tools.jam
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
# This is simply an extension to the msvc-stlport toolset. However,
|
||||
# STLPort doesn't support <stlport-iostream>off with vc7.
|
||||
# This is essentially a usage-requirement on the stlport library.
|
||||
local gBUILD_PROPERTIES = [ difference $(gBUILD_PROPERTIES) : <stlport-iostream>off ] <stlport-iostream>on ;
|
||||
STLPORT_VERSION ?= 4.6 ;
|
||||
extends-toolset msvc-stlport ;
|
||||
}
|
||||
|
||||
|
||||
# singleton variables...
|
||||
set-as-singleton VC71_ROOT ;
|
||||
|
||||
if ! $(MSVCDir)
|
||||
{
|
||||
ProgramFiles ?= $(PROGRAMFILES) ;
|
||||
VC71_ROOT ?= $(ProgramFiles:J=" ")"\\Microsoft Visual Studio .NET 2003\\VC7" ;
|
||||
VC_TOOL_PATH = "$(VC71_ROOT)"\\bin\\ ;
|
||||
VC_SETUP = "CALL \"$(VC_TOOL_PATH)VCVARS32.BAT\" >nul" ;
|
||||
}
|
||||
VC_PDB_NAME = vc71 ;
|
||||
|
||||
feature native-wchar_t : off on ;
|
||||
|
||||
flags vc7.1 CFLAGS : /Op ;
|
||||
flags vc7.1 C++FLAGS : /Zc:forScope ;
|
||||
flags vc7.1 C++FLAGS <native-wchar_t>on : /Zc:wchar_t ;
|
||||
|
||||
# The following #// line will be used by the regression test table generation
|
||||
# program as the column heading for HTML tables. Must not include version number.
|
||||
#//<a href="http://msdn.microsoft.com/vstudio/default.asp">Micro-<br>soft<br>VC++</a><br><a href="http://www.stlport.org/">STLport</a>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user