]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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 | import feature ; | |
8 | import modules ; | |
9 | import toolset ; | |
10 | ||
11 | project boost/coroutine2 | |
12 | : requirements | |
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 | |
20 | <threading>multi | |
21 | : usage-requirements | |
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 | |
26 | ; | |
27 | ||
28 | lib boost_coroutine2 | |
29 | : | |
30 | : <link>shared:<library>../../context/build//boost_context | |
31 | ; | |
32 | ||
33 | boost-install boost_coroutine2 ; |