2 # Copyright Oliver Kowalke 2009.
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)
11 project boost/coroutine
13 <library>/boost/context//boost_context
14 <library>/boost/system//boost_system
15 <library>/boost/thread//boost_thread
16 <toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
17 <toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
18 <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
19 <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
20 <link>shared:<define>BOOST_COROUTINES_DYN_LINK=1
21 <define>BOOST_COROUTINES_SOURCE
23 <link>shared:<define>BOOST_COROUTINES_DYN_LINK=1
24 : source-location ../src
27 alias stack_traits_sources
28 : windows/stack_traits.cpp
32 alias stack_traits_sources
33 : posix/stack_traits.cpp
36 explicit stack_traits_sources ;
39 : detail/coroutine_context.cpp
42 : <link>shared:<library>../../context/build//boost_context
43 <link>shared:<library>../../system/build//boost_system
44 <link>shared:<library>../../thread/build//boost_thread
47 boost-install boost_coroutine ;