1# Boost.Context Library Examples Jamfile 2 3# Copyright Oliver Kowalke 2014. 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 ; 16import architecture ; 17 18project boost/context/example/fiber 19 : requirements 20 <library>/boost/context//boost_context 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 ; 28 29exe stack 30 : stack.cpp 31 ; 32 33exe jump_void 34 : jump_void.cpp 35 ; 36 37exe jump 38 : jump.cpp 39 ; 40 41exe jump_mov 42 : jump_mov.cpp 43 ; 44 45exe ontop_void 46 : ontop_void.cpp 47 ; 48 49exe throw 50 : throw.cpp 51 ; 52 53exe fibonacci 54 : fibonacci.cpp 55 ; 56 57exe parser 58 : parser.cpp 59 ; 60 61exe ontop 62 : ontop.cpp 63 ; 64 65exe endless_loop 66 : endless_loop.cpp 67 ; 68 69exe segmented 70 : segmented.cpp 71 ; 72 73exe circle 74 : circle.cpp 75 ; 76 77#exe backtrace 78# : backtrace.cpp 79# ; 80 81#exe echosse 82# : echosse.cpp 83# ; 84