Fixed examples compilation

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@740 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2014-05-24 07:23:28 +00:00
parent 59a52529e4
commit 0ea1644f9e
3 changed files with 10 additions and 16 deletions

View file

@ -31,7 +31,7 @@ boostbook standalone
:
mock
:
<dependency>reference
# <dependency>reference
<xsl:param>boost.image.src=images/boost.png
<xsl:param>chunk.first.sections=1
# <xsl:param>toc.max.depth=3
@ -44,15 +44,9 @@ project example
<include>../../../../..
;
compile example/motivation.cpp ;
compile example/getting_started.cpp ;
compile example/customization.cpp ;
compile example/patterns_async_call.cpp ;
compile example/patterns_retrieve_cref.cpp ;
compile example/patterns_invoke_functor.cpp ;
compile example/patterns_quick_constraint.cpp ;
compile example/reference.cpp ;
compile example/limitations_throw_specifier.cpp ;
compile example/limitations_literal_zero.cpp ;
compile example/limitations_template_method.cpp ;
compile example/limitations_private_method.cpp ;
rule compile-examples
{
for name in [ glob example/*.cpp ] { compile $(name) ; }
}
alias mock_examples : [ compile-examples ] ;

View file

@ -25,7 +25,7 @@ namespace limitations_comma_in_macro_solution_2
{
//[ limitations_comma_in_macro_solution_2
template< typename T1, typename T2 >
MOCK_BASE_CLASS( my_mock, my_base_type< T1 BOOST_PP_COMMA() T2 > )
MOCK_BASE_CLASS( my_mock, my_base_class< T1 BOOST_PP_COMMA() T2 > )
{};
//]
}
@ -34,7 +34,7 @@ namespace limitations_comma_in_macro_solution_3
{
//[ limitations_comma_in_macro_solution_3
template< typename T1, typename T2 >
struct my_mock : my_base_type< T1, T2 >, mock::object
struct my_mock : my_base_class< T1, T2 >, mock::object
{};
//]
}

View file

@ -236,7 +236,7 @@
<target name="documentation" depends="boost.generate,boost.doc" description="generate documentation"/>
<target name="boost" depends="boost.generate,boost.convert,boost.test,boost.doc" description="convert to boost with documentation and tests"/>
<target name="boost" depends="boost.generate,boost.convert,boost.doc,boost.test" description="convert to boost with documentation and tests"/>
<target name="release" depends="documentation,package" description="produce release packages">
<fail unless="version" message="missing version property"/>