More Boost.Mock generation

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@469 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2012-06-22 17:21:44 +00:00
parent a09b491446
commit a6677f33d6
5 changed files with 96 additions and 4 deletions

View file

@ -0,0 +1,36 @@
# Boost.Mock
#
# Copyright Mathieu Champlon 2012
#
# Distributed under the Boost Software License version 1.0. (See
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
import path ;
using boostbook ;
using quickbook ;
using doxygen ;
xml mock : mock.qbk ;
doxygen reference
:
[ glob ../../../boost/mock/*.hpp ]
:
<doxygen:param>EXPAND_ONLY_PREDEF=YES
<doxygen:param>HIDE_UNDOC_MEMBERS=NO
<doxygen:param>QUIET=YES
<doxygen:param>WARN_IF_UNDOCUMENTED=NO
<doxygen:param>EXTRACT_PRIVATE=NO
<doxygen:param>ENABLE_PREPROCESSING=YES
<doxygen:param>MACRO_EXPANSION=YES
<doxygen:param>SEARCH_INCLUDES=NO
;
boostbook standalone
:
mock
:
<dependency>reference
<xsl:param>boost.root=../../../..
;

36
build/boost/doc/mock.qbk Normal file
View file

@ -0,0 +1,36 @@
[library Boost.Mock
[quickbook 1.5]
[authors [Champlon, Mathieu]]
[copyright 2012 Mathieu Champlon]
[license
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
[@http://www.boost.org/LICENSE_1_0.txt])
]
[purpose Mock object library for testing]
]
[section:introduction Introduction]
[note Boost.Mock is not an official Boost library.]
[endsect]
[section:conceptdef Concept Definitions]
[endsect]
[xinclude reference.xml]
[section:rationale Rationale]
[endsect]
[section:future Future Work]
[endsect]
[section:acknowledgements Acknowledgements]
[endsect]

20
build/boost/index.html Normal file
View file

@ -0,0 +1,20 @@
<html>
<head>
<meta http-equiv="refresh" content="0; URL=doc/html/index.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="doc/html/index.html">doc/html/index.html</a>
<hr>
<tt>
Boost.Mock<br>
<br>
Copyright Mathieu Champlon 2012<br>
<br>
Distributed under the Boost Software License, Version 1.0. (See
accompanying file LICENSE_1_0.txt or copy at
<a href=http://www.boost.org/LICENSE_1_0.txt>http://www.boost.org/LICENSE_1_0.txt</a>)<br>
<br>
</tt>
</body>
</html>

View file

@ -125,10 +125,10 @@
<copy todir="${boost.dir}/boost/mock"> <copy todir="${boost.dir}/boost/mock">
<fileset dir="${libraries.dir}/turtle" includes="**"/> <fileset dir="${libraries.dir}/turtle" includes="**"/>
</copy> </copy>
<copy todir="${boost.dir}/libs/mock/test"> <copy todir="${boost.dir}/libs/mock">
<fileset dir="${tests.dir}/test" includes="**"/> <fileset dir="${tests.dir}" includes="test/**"/>
<fileset dir="boost" includes="Jamfile.jam"/> <fileset dir="boost" includes="test/**,doc/**,index.html"/>
</copy> </copy>
<copy todir="${boost.dir}"> <copy todir="${boost.dir}">
<fileset dir="boost" includes="LICENSE_1_0.txt,Jamroot.jam,Jamfile.v2"/> <fileset dir="boost" includes="LICENSE_1_0.txt,Jamroot.jam,Jamfile.v2"/>
</copy> </copy>