• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
9import common ;
10import feature ;
11import indirect ;
12import modules ;
13import os ;
14import toolset ;
15
16project boost/coroutine2/performance
17    : requirements
18      <library>/boost/chrono//boost_chrono
19      <library>/boost/context//boost_context
20      <library>/boost/program_options//boost_program_options
21      <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
22      <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
23      <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
24      <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
25      <link>static
26      <threading>multi
27      <cxxflags>-DBOOST_DISABLE_ASSERTS
28      <optimization>speed
29      <variant>release
30    ;
31
32alias sources
33   : bind_processor_aix.cpp
34   : <target-os>aix
35   ;
36
37alias sources
38   : bind_processor_freebsd.cpp
39   : <target-os>freebsd
40   ;
41
42alias sources
43   : bind_processor_hpux.cpp
44   : <target-os>hpux
45   ;
46
47alias sources
48   : bind_processor_linux.cpp
49   : <target-os>linux
50   ;
51
52alias sources
53   : bind_processor_solaris.cpp
54   : <target-os>solaris
55   ;
56
57alias sources
58   : bind_processor_windows.cpp
59   : <target-os>windows
60   ;
61
62explicit sources ;
63
64exe performance
65   : sources
66     performance.cpp
67   ;
68