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)
11 project boost/coroutine2
13 <library>/boost/context//boost_context
14 <toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
15 <toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
16 <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
17 <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
18 <link>shared:<define>BOOST_COROUTINES2_DYN_LINK=1
19 <define>BOOST_COROUTINES2_SOURCE
22 <link>shared:<define>BOOST_COROUTINES2_DYN_LINK=1
23 <optimization>speed:<define>BOOST_DISABLE_ASSERTS
24 <variant>release:<define>BOOST_DISABLE_ASSERTS
25 : source-location ../src
30 : <link>shared:<library>../../context/build//boost_context
33 boost-install boost_coroutine2 ;