diff options
Diffstat (limited to 'doc/html/bbv2/tasks.html')
-rw-r--r-- | doc/html/bbv2/tasks.html | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/doc/html/bbv2/tasks.html b/doc/html/bbv2/tasks.html index 9e40e2ce2e..b849bb283c 100644 --- a/doc/html/bbv2/tasks.html +++ b/doc/html/bbv2/tasks.html @@ -1,3 +1,4 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> @@ -44,7 +45,7 @@ <div class="section"> <div class="titlepage"><div><div><h3 class="title"> <a name="bbv2.tasks.programs"></a>Programs</h3></div></div></div> -<a class="indexterm" name="idp544198416"></a><p> +<a class="indexterm" name="idp550585936"></a><p> Programs are created using the <code class="computeroutput">exe</code> rule, which follows the <a class="link" href="overview.html#bbv2.main-target-rule-syntax">common syntax</a>. For example: @@ -80,7 +81,7 @@ exe hello : hello.cpp some_library.lib /some_project//library <div class="section"> <div class="titlepage"><div><div><h3 class="title"> <a name="bbv2.tasks.libraries"></a>Libraries</h3></div></div></div> -<a class="indexterm" name="idp544206944"></a><p> +<a class="indexterm" name="idp550594464"></a><p> Library targets are created using the <code class="computeroutput">lib</code> rule, which follows the <a class="link" href="overview.html#bbv2.main-target-rule-syntax">common syntax </a>. For example: @@ -307,7 +308,7 @@ exe main : main.cpp static_libraries ; files. </p> <h4> -<a name="idp544265680"></a>Basic install</h4> +<a name="idp550653200"></a>Basic install</h4> <p> For installing a built target you should use the <code class="computeroutput">install</code> rule, which follows the <a class="link" href="overview.html#bbv2.main-target-rule-syntax"> @@ -346,7 +347,7 @@ install dist2 : hello helpers : <location>$(DIST) ; variables</a> </p> <h4> -<a name="idp544278384"></a>Installing with all dependencies</h4> +<a name="idp550665968"></a>Installing with all dependencies</h4> <p> Specifying the names of all libraries to install can be boring. The <code class="computeroutput">install</code> allows you to specify only the top-level executable @@ -370,8 +371,8 @@ install dist : hello otherwise, all found target will be installed. </p> <h4> -<a name="idp544283776"></a>Preserving Directory Hierarchy</h4> -<a class="indexterm" name="idp544284160"></a><p> +<a name="idp550671360"></a>Preserving Directory Hierarchy</h4> +<a class="indexterm" name="idp550671744"></a><p> By default, the <code class="computeroutput">install</code> rule will strip paths from its sources. So, if sources include <code class="filename">a/b/c.hpp</code>, the <code class="filename">a/b</code> part will be ignored. To make the @@ -395,7 +396,7 @@ install headers an entire directory tree. </p> <h4> -<a name="idp544292480"></a>Installing into Several Directories</h4> +<a name="idp550680064"></a>Installing into Several Directories</h4> <p> The <a class="link" href="tasks.html#bbv2.tasks.alias" title="Alias"><code class="computeroutput">alias</code></a> rule can be used when targets need to be installed into several directories: @@ -409,7 +410,7 @@ install install-lib : helper : /usr/lib ; </p> <p> Because the <code class="computeroutput">install</code> rule just copies targets, most free - features <a href="#ftn.idp544296416" class="footnote" name="idp544296416"><sup class="footnote">[15]</sup></a> have no + features <a href="#ftn.idp550684000" class="footnote" name="idp550684000"><sup class="footnote">[15]</sup></a> have no effect when used in requirements of the <code class="computeroutput">install</code> rule. The only two that matter are <a class="link" href="reference.html#bbv2.builtin.features.dependency"> <code class="varname">dependency</code></a> and, on Unix, <a class="link" href="reference.html#bbv2.reference.features.dll-path"><code class="varname">dll-path</code> @@ -498,7 +499,7 @@ rule run ( sources + : args * : input-files * : requirements * : target-name ? target-name</code></em>.output</code>. </p> <p> - <a class="indexterm" name="idp544327680"></a> + <a class="indexterm" name="idp550715072"></a> If the <code class="literal">preserve-test-targets</code> feature has the value <code class="literal">off</code>, then <code class="computeroutput">run</code> and the <code class="computeroutput">run-fail</code> rules will remove the executable after running it. This somewhat decreases @@ -782,7 +783,7 @@ exe app : app.cpp : <implicit-dependency>parser ; <div class="section"> <div class="titlepage"><div><div><h3 class="title"> <a name="bbv2.tasks.crosscompile"></a>Cross-compilation</h3></div></div></div> -<a class="indexterm" name="idp544410208"></a><p>Boost.Build supports cross compilation with the gcc and msvc +<a class="indexterm" name="idp550797296"></a><p>Boost.Build supports cross compilation with the gcc and msvc toolsets.</p> <p> When using gcc, you first need to specify your cross compiler @@ -821,7 +822,7 @@ b2 toolset=gcc-mingw <span class="bold"><strong>target-os=windows</strong></span </div> <div class="footnotes"> <br><hr style="width:100; text-align:left;margin-left: 0"> -<div id="ftn.idp544296416" class="footnote"><p><a href="#idp544296416" class="para"><sup class="para">[15] </sup></a>see the definition of "free" in <a class="xref" href="reference.html#bbv2.reference.features.attributes" title="Feature Attributes">the section called “Feature Attributes”</a>.</p></div> +<div id="ftn.idp550684000" class="footnote"><p><a href="#idp550684000" class="para"><sup class="para">[15] </sup></a>see the definition of "free" in <a class="xref" href="reference.html#bbv2.reference.features.attributes" title="Feature Attributes">the section called “Feature Attributes”</a>.</p></div> </div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> |