]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/coroutine2/performance/segmented/Jamfile.v2
d9ef3b5505fb3e827608377d44e50a3626c9df2c
[ceph.git] / ceph / src / boost / libs / coroutine2 / performance / segmented / Jamfile.v2
1
2 # Copyright Oliver Kowalke 2014.
3 # Distributed under the Boost Software License, Version 1.0.
4 # (See accompanying file LICENSE_1_0.txt or copy at
5 # http://www.boost.org/LICENSE_1_0.txt)
6
7 # For more information, see http://www.boost.org/
8
9 import common ;
10 import feature ;
11 import indirect ;
12 import modules ;
13 import os ;
14 import toolset ;
15
16 project boost/coroutine2/performance/segmented_stack
17 : requirements
18 <library>/boost/chrono//boost_chrono
19 <library>/boost/coroutine//boost_coroutine
20 <library>/boost/program_options//boost_program_options
21 <segmented-stacks>on
22 <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
23 <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
24 <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
25 <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
26 <link>static
27 <threading>multi
28 <cxxflags>-DBOOST_DISABLE_ASSERTS
29 <optimization>speed
30 <variant>release
31 ;
32
33 alias sources
34 : ../bind_processor_aix.cpp
35 : <target-os>aix
36 ;
37
38 alias sources
39 : ../bind_processor_freebsd.cpp
40 : <target-os>freebsd
41 ;
42
43 alias sources
44 : ../bind_processor_hpux.cpp
45 : <target-os>hpux
46 ;
47
48 alias sources
49 : ../bind_processor_linux.cpp
50 : <target-os>linux
51 ;
52
53 alias sources
54 : ../bind_processor_solaris.cpp
55 : <target-os>solaris
56 ;
57
58 alias sources
59 : ../bind_processor_windows.cpp
60 : <target-os>windows
61 ;
62
63 explicit sources ;
64
65 exe performance_create_segmented
66 : sources
67 performance_create_segmented.cpp
68 ;
69
70 exe performance_switch
71 : sources
72 performance_switch.cpp
73 ;