mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
59a52529e4
commit
0ea1644f9e
3 changed files with 10 additions and 16 deletions
|
|
@ -31,7 +31,7 @@ boostbook standalone
|
||||||
:
|
:
|
||||||
mock
|
mock
|
||||||
:
|
:
|
||||||
<dependency>reference
|
# <dependency>reference
|
||||||
<xsl:param>boost.image.src=images/boost.png
|
<xsl:param>boost.image.src=images/boost.png
|
||||||
<xsl:param>chunk.first.sections=1
|
<xsl:param>chunk.first.sections=1
|
||||||
# <xsl:param>toc.max.depth=3
|
# <xsl:param>toc.max.depth=3
|
||||||
|
|
@ -44,15 +44,9 @@ project example
|
||||||
<include>../../../../..
|
<include>../../../../..
|
||||||
;
|
;
|
||||||
|
|
||||||
compile example/motivation.cpp ;
|
rule compile-examples
|
||||||
compile example/getting_started.cpp ;
|
{
|
||||||
compile example/customization.cpp ;
|
for name in [ glob example/*.cpp ] { compile $(name) ; }
|
||||||
compile example/patterns_async_call.cpp ;
|
}
|
||||||
compile example/patterns_retrieve_cref.cpp ;
|
|
||||||
compile example/patterns_invoke_functor.cpp ;
|
alias mock_examples : [ compile-examples ] ;
|
||||||
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 ;
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ namespace limitations_comma_in_macro_solution_2
|
||||||
{
|
{
|
||||||
//[ limitations_comma_in_macro_solution_2
|
//[ limitations_comma_in_macro_solution_2
|
||||||
template< typename T1, typename T2 >
|
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
|
//[ limitations_comma_in_macro_solution_3
|
||||||
template< typename T1, typename T2 >
|
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
|
||||||
{};
|
{};
|
||||||
//]
|
//]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -236,7 +236,7 @@
|
||||||
|
|
||||||
<target name="documentation" depends="boost.generate,boost.doc" description="generate documentation"/>
|
<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">
|
<target name="release" depends="documentation,package" description="produce release packages">
|
||||||
<fail unless="version" message="missing version property"/>
|
<fail unless="version" message="missing version property"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue