File: Jamfile.v2

package info (click to toggle)
boost1.88 1.88.0-1.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 577,108 kB
  • sloc: cpp: 4,149,243; xml: 136,789; ansic: 35,092; python: 33,910; asm: 5,698; sh: 4,604; ada: 1,681; makefile: 1,632; pascal: 1,139; perl: 1,124; sql: 640; yacc: 478; ruby: 271; java: 77; lisp: 24; csh: 6
file content (82 lines) | stat: -rw-r--r-- 2,448 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

# Copyright (C) 2009-2012 Lorenzo Caminiti
# Distributed under the Boost Software License, Version 1.0
# (see accompanying file LICENSE_1_0.txt or a copy at
# http://www.boost.org/LICENSE_1_0.txt)
# Home at http://www.boost.org/libs/local_function

import testing ;

# Sun does not automatically detect type-of emulation mode (force it).
project :
  requirements
    <toolset>sun:<define>BOOST_TYPEOF_EMULATION
    <toolset>gcc:<cxxflags>-Wno-unused-local-typedefs
    <toolset>clang:<cxxflags>-Wno-unused-local-typedefs
    ;

run add_cxx11_lambda.cpp ;
run add_global_functor.cpp ;
run add_local_functor.cpp ;
run add_phoenix.cpp ;

run const_block.cpp ;
compile-fail const_block_error.cpp : <variant>debug ;
run const_block_error.cpp : <variant>release : ;
compile-fail const_block_error_cxx11_lambda.cpp : <variant>debug ;

run expensive_copy_cxx11_lambda.cpp ;
run expensive_copy_local_function.cpp ;

run gcc_access.cpp ;
run gcc_lambda.cpp : : : <build>no <toolset>gcc:<build>yes ;
run gcc_cxx11_lambda.cpp ;
run gcc_square.cpp ;
run gcc_store.cpp ;

run impl_pp_keyword.cpp ;
run impl_tparam_tricks.cpp ;

run n2529_this.cpp ;
run n2550_find_if.cpp ;

compile-fail noncopyable_cxx11_lambda_error.cpp ;
run noncopyable_local_function.cpp ;

run phoenix_factorial.cpp ;
run phoenix_factorial_local.cpp ;

# Only compile but do not run profiling programs (they take a long time to run).
exe profile_global_functor : profile_global_functor.cpp
    :   <library>/boost/chrono//boost_chrono
        <library>/boost/system//boost_system
        <link>static
    ;
exe profile_cxx11_lambda : profile_cxx11_lambda.cpp
    :   <library>/boost/chrono//boost_chrono
        <library>/boost/system//boost_system
        <link>static
    ;
exe profile_local_function : profile_local_function.cpp
    :   <library>/boost/chrono//boost_chrono
        <library>/boost/system//boost_system
        <link>static
    ;
exe profile_local_function_inline : profile_local_function_inline.cpp
    :   <library>/boost/chrono//boost_chrono
        <library>/boost/system//boost_system
        <link>static
    ;
exe profile_local_functor : profile_local_functor.cpp
    :   <library>/boost/chrono//boost_chrono
        <library>/boost/system//boost_system
        <link>static
    ;
exe profile_phoenix : profile_phoenix.cpp
    :   <library>/boost/chrono//boost_chrono
        <library>/boost/system//boost_system
        <link>static
    ;

run scope_exit.cpp ;