Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / coroutine / example / symmetric / Jamfile.v2
1 # Boost.Coroutine Library Examples Jamfile
2
3 #          Copyright Oliver Kowalke 2009.
4 # Distributed under the Boost Software License, Version 1.0.
5 #    (See accompanying file LICENSE_1_0.txt or copy at
6 #          http://www.boost.org/LICENSE_1_0.txt)
7
8 # For more information, see http://www.boost.org/
9
10 import common ;
11 import feature ;
12 import indirect ;
13 import modules ;
14 import os ;
15 import toolset ;
16
17 project boost/coroutine/example/symmetric
18     : requirements
19       <library>/boost/context//boost_context
20       <library>/boost/coroutine//boost_coroutine
21       <library>/boost/program_options//boost_program_options
22       <library>/boost/random//boost_random
23       <toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
24       <toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
25       <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
26       <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
27       <link>static
28       <threading>multi
29     ;
30
31 exe simple
32     : simple.cpp
33     ;
34
35 exe dice_game
36     : dice_game.cpp
37     ;
38
39 exe merge_arrays
40     : merge_arrays.cpp
41     ;
42
43 exe unwind
44     : unwind.cpp
45     ;
46
47 exe segmented_stack
48     : segmented_stack.cpp
49     ;