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/example 17 : requirements 18 <library>/boost/context//boost_context 19 <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack 20 <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS 21 <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack 22 <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS 23 <link>static 24 <threading>multi 25 ; 26 27exe fibonacci 28 : fibonacci.cpp 29 ; 30 31exe same_fringe 32 : same_fringe.cpp 33 ; 34 35exe layout 36 : layout.cpp 37 ; 38 39exe parser 40 : parser.cpp 41 ; 42 43exe segmented 44 : segmented.cpp 45 ; 46