# Copyright Oliver Kowalke 2009. # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) import feature ; import modules ; import toolset ; feature.feature segmented-stacks : on : optional propagated composite ; feature.compose on : BOOST_USE_SEGMENTED_STACKS ; project boost/coroutine : requirements /boost/context//boost_context gcc-4.7,on:-fsplit-stack gcc-4.7,on:"-static-libgcc" gcc-4.8,on:-fsplit-stack gcc-4.8,on:"-static-libgcc" static multi : source-location ../src : usage-requirements shared:BOOST_COROUTINES_DYN_LINK=1 ; alias allocator_sources : detail/standard_stack_allocator_windows.cpp : windows ; alias allocator_sources : detail/standard_stack_allocator_posix.cpp detail/segmented_stack_allocator.cpp : on ; alias allocator_sources : detail/standard_stack_allocator_posix.cpp ; explicit yield_sources ; lib boost_coroutine : allocator_sources detail/coroutine_context.cpp : shared:BOOST_COROUTINES_DYN_LINK=1 : : shared:../../context/build//boost_context ; boost-install boost_coroutine ;