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 10import common ; 11import feature ; 12import indirect ; 13import modules ; 14import os ; 15import toolset ; 16 17project 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 <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack 24 <target-os>linux,<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 31exe simple 32 : simple.cpp 33 ; 34 35exe dice_game 36 : dice_game.cpp 37 ; 38 39exe merge_arrays 40 : merge_arrays.cpp 41 ; 42 43exe unwind 44 : unwind.cpp 45 ; 46 47exe segmented_stack 48 : segmented_stack.cpp 49 ; 50