Backport lots of new features from the 1.41.0 branch.
[boost:cmake.git] / tools / build / CMake / docs / build / html / reference / boost_additional_test_dependencies.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
4 <html xmlns="http://www.w3.org/1999/xhtml">
5   <head>
6     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7     
8     <title>boost_additional_test_dependencies &mdash; Boost.CMake 1.40.0.cmake5</title>
9     <link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
10     <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
11     <script type="text/javascript">
12       var DOCUMENTATION_OPTIONS = {
13         URL_ROOT:    '../',
14         VERSION:     '1.40.0.cmake5',
15         COLLAPSE_MODINDEX: false,
16         FILE_SUFFIX: '.html',
17         HAS_SOURCE:  true
18       };
19     </script>
20     <script type="text/javascript" src="../_static/jquery.js"></script>
21     <script type="text/javascript" src="../_static/doctools.js"></script>
22     <link rel="top" title="Boost.CMake 1.40.0.cmake5" href="../index.html" />
23     <link rel="next" title="boost_test_compile" href="boost_test_compile.html" />
24     <link rel="prev" title="boost_python_module" href="boost_python_module.html" /> 
25   </head>
26   <body>
27     <div class="related">
28       <h3>Navigation</h3>
29       <ul>
30         <li class="right" style="margin-right: 10px">
31           <a href="../genindex.html" title="General Index"
32              accesskey="I">index</a></li>
33         <li class="right" >
34           <a href="boost_test_compile.html" title="boost_test_compile"
35              accesskey="N">next</a> |</li>
36         <li class="right" >
37           <a href="boost_python_module.html" title="boost_python_module"
38              accesskey="P">previous</a> |</li>
39     <li><a href="http://www.boost.org/">Boost</a> &raquo;</li>
40     
41         <li><a href="../index.html">Boost.CMake 1.40.0.cmake5</a> &raquo;</li>
42  
43       </ul>
44     </div>
45       <div class="sphinxsidebar">
46         <div class="sphinxsidebarwrapper">
47             <p class="logo"><a href="../index.html">
48               <img class="logo" src="../_static/boost-small.png" alt="Logo"/>
49             </a></p>
50             <h4>Previous topic</h4>
51             <p class="topless"><a href="boost_python_module.html"
52                                   title="previous chapter">boost_python_module</a></p>
53             <h4>Next topic</h4>
54             <p class="topless"><a href="boost_test_compile.html"
55                                   title="next chapter">boost_test_compile</a></p>
56             <h3>This Page</h3>
57             <ul class="this-page-menu">
58               <li><a href="../_sources/reference/boost_additional_test_dependencies.txt"
59                      rel="nofollow">Show Source</a></li>
60             </ul>
61         </div>
62       </div>
63
64     <div class="document">
65       <div class="documentwrapper">
66         <div class="bodywrapper">
67           <div class="body">
68             
69   <div class="section" id="boost-additional-test-dependencies">
70 <h1>boost_additional_test_dependencies<a class="headerlink" href="#boost-additional-test-dependencies" title="Permalink to this headline">ΒΆ</a></h1>
71 <div class="admonition note">
72 <p class="first admonition-title">Note</p>
73 <p class="last">This is only needed in the presence of &#8216;modularization&#8217;
74 which is currently disabled.</p>
75 </div>
76 <p>Add additional include directories based on the dependencies of the
77 library being tested &#8216;libname&#8217; and all of its dependencies.</p>
78 <dl class="cmake">
79 <dt>
80 <tt class="descname">boost_additional_test_dependencies(libname, ...</tt></dt>
81 <dd><table class="docutils field-list" frame="void" rules="none">
82 <col class="field-name" />
83 <col class="field-body" />
84 <tbody valign="top">
85 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
86 <li><em>libname</em> &#8211; name of library being tested</li>
87 <li><em>BOOST_DEPENDS</em> &#8211; libdepend1 libdepend2 ...</li>
88 </ul>
89 </td>
90 </tr>
91 </tbody>
92 </table>
93 </dd></dl>
94
95 <p><cite>libname</cite></p>
96 <blockquote>
97 the name of the boost library being tested. (signals)</blockquote>
98 <p><cite>BOOST_DEPENDS</cite></p>
99 <blockquote>
100 The list of the extra boost libraries that the test suite will
101 depend on. You do NOT have to list those libraries already listed
102 by the module.cmake file as these will be used.</blockquote>
103 <p class="rubric">Example</p>
104 <p>The following invocation of the <cite>boost_additional_test_dependencies</cite>
105 macro is taken from the signals library.</p>
106 <div class="highlight-python"><pre>boost_additional_test_dependencies(signals BOOST_DEPENDS test optional)</pre>
107 </div>
108 <p class="rubric">Where Defined</p>
109 <p>This macro is defined in the Boost Testing module in
110 tools/build/CMake/BoostTesting.cmake</p>
111 </div>
112
113
114           </div>
115         </div>
116       </div>
117       <div class="clearer"></div>
118     </div>
119     <div class="related">
120       <h3>Navigation</h3>
121       <ul>
122         <li class="right" style="margin-right: 10px">
123           <a href="../genindex.html" title="General Index"
124              >index</a></li>
125         <li class="right" >
126           <a href="boost_test_compile.html" title="boost_test_compile"
127              >next</a> |</li>
128         <li class="right" >
129           <a href="boost_python_module.html" title="boost_python_module"
130              >previous</a> |</li>
131     <li><a href="http://www.boost.org/">Boost</a> &raquo;</li>
132     
133         <li><a href="../index.html">Boost.CMake 1.40.0.cmake5</a> &raquo;</li>
134  
135       </ul>
136     </div>
137     <div class="footer">
138       &copy; Copyright 2008-2009, Troy D. Straszheim, 2008 Douglas Gregor --  Version 31c30425cf29d2ae048ffb07c8284cee1e095b7a, Mon, 26 Oct 2009.
139       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.2.
140     </div>
141   </body>
142 </html>