• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>BoostBook element requirement</title>
6<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
7<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
8<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
9<link rel="up" href="../../reference.html" title="Reference">
10<link rel="prev" href="method-group.html" title="BoostBook element method-group">
11<link rel="next" href="precondition.html" title="BoostBook element precondition">
12</head>
13<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14<table cellpadding="2" width="100%"><tr>
15<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
16<td align="center"><a href="../../../../index.html">Home</a></td>
17<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
18<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
19<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
20<td align="center"><a href="../../../../more/index.htm">More</a></td>
21</tr></table>
22<hr>
23<div class="spirit-nav">
24<a accesskey="p" href="method-group.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="precondition.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
25</div>
26<div class="refentry">
27<a name="boostbook.dtd.requirement"></a><div class="titlepage"></div>
28<div class="refnamediv">
29<h2><span class="refentrytitle">
30          BoostBook element <code class="sgmltag-element">requirement</code></span></h2>
31<p>requirement — A requirement/property in the Jamfile for a testcase</p>
32</div>
33<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
34<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv">requirement ::=
35  (#PCDATA)
36</div>
37<div class="refsection">
38<a name="id-1.4.3.7.40.4"></a><h2>Description</h2>
39<p>A requirement is part of the dependencies of a target in a
40  Jamfile. The <code class="computeroutput">name</code> attribute of a requirement element
41  gives the name of the Boost.Build feature and the content of the
42  requirement gives the value of that feature. A requirement such as
43  <code class="computeroutput">&lt;includes&gt;foo.hpp</code> would be encoded as
44  <code class="computeroutput">&lt;requirement
45  name="includes"&gt;foo.hpp&lt;/requirement&gt;</code>.</p>
46</div>
47<div class="refsection">
48<a name="id-1.4.3.7.40.5"></a><h2>Attributes</h2>
49<div class="informaltable"><table class="table">
50<colgroup>
51<col>
52<col>
53<col>
54<col>
55</colgroup>
56<thead><tr>
57<th>Name</th>
58<th>Type</th>
59<th>Value</th>
60<th>Purpose</th>
61</tr></thead>
62<tbody><tr>
63<td>name</td>
64<td>#REQUIRED</td>
65<td>CDATA</td>
66<td>The name of the element being declared to referenced</td>
67</tr></tbody>
68</table></div>
69</div>
70</div>
71<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
72<td align="left"></td>
73<td align="right"><div class="copyright-footer">Copyright © 2003-2005 Douglas Gregor<p>Distributed under the Boost Software License, Version 1.0.
74      (See accompanying file LICENSE_1_0.txt or copy at
75      <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>).
76      </p>
77</div></td>
78</tr></table>
79<hr>
80<div class="spirit-nav">
81<a accesskey="p" href="method-group.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="precondition.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
82</div>
83</body>
84</html>
85