blob: b67510ec06bf37e13d559b0a7fdf4ad7a384c759 [file] [log] [blame]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>The Execution Monitor compilation variants and procedures</title>
<link rel="stylesheet" href="../../style/style.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
<link rel="home" href="../index.html" title="Boost Test Library">
<link rel="up" href="../execution-monitor.html" title="Part I. Boost Test Library: The Execution Monitor">
<link rel="prev" href="../execution-monitor.html" title="Part I. Boost Test Library: The Execution Monitor">
<link rel="next" href="user-guide.html" title="The Execution Monitor user's guide">
<script language="JavaScript1.2" src="../../js/boost-test.js"></script>
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table width="100%"><tr>
<td width="10%"><a href="../index.html"><img alt="Home" width="229" height="61" border="0" src="../../../../../libs/test/docbook/img/boost.test.logo.png"></a></td>
<td valign="middle" align="left"> &gt; <a href="../execution-monitor.html">The Execution Monitor</a><a href="../prg-exec-monitor.html">
&gt;
</a><b>Compilation</b>
</td>
<td><div class="spirit-nav">
<a href="../execution-monitor.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a href="user-guide.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
</div></td>
</tr></table>
<hr>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
<a name="execution-monitor.compilation"></a>The Execution Monitor compilation variants and procedures</h3></div></div></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="execution-monitor.impl"></a>Implementation</h4></div></div></div>
<p class="first-line-indented">
The Execution Monitor is implemented in two modules: one header file and one source file.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="filename">boost/test/execution_monitor.hpp</code></span></p></td>
<td>
defines abstract execution monitor interfaces and implements execution exception.
</td>
</tr>
<tr>
<td><p><span class="term"><a href="../../../../../boost/test/impl/execution_monitor.ipp" target="_top"><code class="filename">libs/test/execution_monitor.hpp</code></a></span></p></td>
<td>
provides the Execution Monitor implementation for all supported configurations, including Microsoft structured
exception based, UNIX signals.
</td>
</tr>
</tbody>
</table></div>
<p class="first-line-indented">
You may use this component in both debug and release modes, but in release mode the Execution Monitor won't
catch Microsoft C runtime debug events.
</p>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="execution-monitor.lib-compilation"></a>Standalone library compilation</h4></div></div></div>
<p class="first-line-indented">
To compile the Execution Monitor as standalone library compose it using only
<code class="filename">execution-monitor.cpp</code> as a source file. Alternatively you can add this file directly to the
list of source files for your project. Boost Test Library's components include this file as a part of their
compilation procedure.
</p>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="execution-monitor.direct-include"></a>Direct include</h4></div></div></div>
<p class="first-line-indented">
In some cases you may want to include the source file along with header file into your sources. But be aware that
to be able to catch all kinds of standard exceptions and to implement signal handling logic this file will bring
a lot of dependencies.
</p>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../execution-monitor.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../execution-monitor.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="user-guide.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
</body>
</html>