]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | |
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) | |
6 | ||
7 | import feature ; | |
8 | import modules ; | |
9 | import toolset ; | |
10 | ||
11 | project boost/coroutine | |
12 | : requirements | |
13 | <library>/boost/context//boost_context | |
7c673cae | 14 | <library>/boost/thread//boost_thread |
20effc67 TL |
15 | <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack |
16 | <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS | |
7c673cae FG |
17 | <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack |
18 | <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS | |
19 | <link>shared:<define>BOOST_COROUTINES_DYN_LINK=1 | |
20 | <define>BOOST_COROUTINES_SOURCE | |
21 | : usage-requirements | |
22 | <link>shared:<define>BOOST_COROUTINES_DYN_LINK=1 | |
23 | : source-location ../src | |
24 | ; | |
25 | ||
26 | alias stack_traits_sources | |
27 | : windows/stack_traits.cpp | |
28 | : <target-os>windows | |
29 | ; | |
30 | ||
31 | alias stack_traits_sources | |
32 | : posix/stack_traits.cpp | |
33 | ; | |
34 | ||
35 | explicit stack_traits_sources ; | |
36 | ||
37 | lib boost_coroutine | |
38 | : detail/coroutine_context.cpp | |
39 | exceptions.cpp | |
40 | stack_traits_sources | |
41 | : <link>shared:<library>../../context/build//boost_context | |
7c673cae FG |
42 | <link>shared:<library>../../thread/build//boost_thread |
43 | ; | |
44 | ||
45 | boost-install boost_coroutine ; |