• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2# Copyright (C) 2009-2012 Lorenzo Caminiti
3# Distributed under the Boost Software License, Version 1.0
4# (see accompanying file LICENSE_1_0.txt or a copy at
5# http://www.boost.org/LICENSE_1_0.txt)
6# Home at http://www.boost.org/libs/local_function
7
8import testing ;
9
10# Sun does not automatically detect type-of emulation mode (force it).
11project : requirements <toolset>sun:<define>BOOST_TYPEOF_EMULATION ;
12
13run add_cxx11_lambda.cpp ;
14run add_global_functor.cpp ;
15run add_local_functor.cpp ;
16run add_phoenix.cpp ;
17
18run const_block.cpp ;
19compile-fail const_block_error.cpp : <variant>debug : ;
20run const_block_error.cpp : <variant>release : ;
21compile-fail const_block_error_cxx11_lambda.cpp ;
22
23run expensive_copy_cxx11_lambda.cpp ;
24run expensive_copy_local_function.cpp ;
25
26run gcc_access.cpp ;
27run gcc_lambda.cpp ;
28run gcc_cxx11_lambda.cpp ;
29run gcc_square.cpp ;
30run gcc_store.cpp ;
31
32run impl_pp_keyword.cpp ;
33run impl_tparam_tricks.cpp ;
34
35run n2529_this.cpp ;
36run n2550_find_if.cpp ;
37
38compile-fail noncopyable_cxx11_lambda_error.cpp ;
39run noncopyable_local_function.cpp ;
40
41run phoenix_factorial.cpp ;
42run phoenix_factorial_local.cpp ;
43
44# Only compile but do not run profiling programs (they take a long time to run).
45exe profile_global_functor : profile_global_functor.cpp
46    :   <library>/boost/chrono//boost_chrono
47        <library>/boost/system//boost_system
48        <link>static
49    ;
50exe profile_cxx11_lambda : profile_cxx11_lambda.cpp
51    :   <library>/boost/chrono//boost_chrono
52        <library>/boost/system//boost_system
53        <link>static
54    ;
55exe profile_local_function : profile_local_function.cpp
56    :   <library>/boost/chrono//boost_chrono
57        <library>/boost/system//boost_system
58        <link>static
59    ;
60exe profile_local_function_inline : profile_local_function_inline.cpp
61    :   <library>/boost/chrono//boost_chrono
62        <library>/boost/system//boost_system
63        <link>static
64    ;
65exe profile_local_functor : profile_local_functor.cpp
66    :   <library>/boost/chrono//boost_chrono
67        <library>/boost/system//boost_system
68        <link>static
69    ;
70exe profile_phoenix : profile_phoenix.cpp
71    :   <library>/boost/chrono//boost_chrono
72        <library>/boost/system//boost_system
73        <link>static
74    ;
75
76run scope_exit.cpp ;
77
78