]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # Boost.Fiber Library Build Jamfile |
2 | ||
3 | # Copyright Oliver Kowalke 2013. | |
4 | # Distributed under the Boost Software License, Version 1.0. | |
5 | # (See accompanying file LICENSE_1_0.txt or copy at | |
6 | # http://www.boost.org/LICENSE_1_0.txt) | |
7 | ||
8 | import feature ; | |
9 | import modules ; | |
10 | import testing ; | |
11 | import toolset ; | |
12 | import ../../config/checks/config : requires ; | |
13 | ||
14 | project boost/fiber | |
15 | : requirements | |
16 | <library>/boost/context//boost_context | |
17 | <toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack | |
18 | <toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS | |
19 | <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack | |
20 | <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS | |
21 | <link>shared:<define>BOOST_FIBERS_DYN_LINK=1 | |
22 | <define>BOOST_FIBERS_SOURCE | |
23 | <threading>multi | |
24 | : usage-requirements | |
25 | <link>shared:<define>BOOST_FIBERS_DYN_LINK=1 | |
26 | <optimization>speed:<define>BOOST_DISABLE_ASSERTS | |
27 | <variant>release:<define>BOOST_DISABLE_ASSERTS | |
28 | : source-location ../src | |
29 | ; | |
30 | ||
31 | lib boost_fiber | |
32 | : algo/algorithm.cpp | |
33 | algo/round_robin.cpp | |
34 | algo/shared_work.cpp | |
35 | barrier.cpp | |
36 | condition_variable.cpp | |
37 | context.cpp | |
38 | fiber.cpp | |
39 | future.cpp | |
40 | mutex.cpp | |
41 | properties.cpp | |
42 | recursive_mutex.cpp | |
43 | recursive_timed_mutex.cpp | |
44 | timed_mutex.cpp | |
45 | scheduler.cpp | |
46 | : <link>shared:<library>../../context/build//boost_context | |
47 | [ requires cxx11_auto_declarations | |
48 | cxx11_constexpr | |
49 | cxx11_defaulted_functions | |
50 | cxx11_final | |
51 | cxx11_hdr_tuple | |
52 | cxx11_lambdas | |
53 | cxx11_noexcept | |
54 | cxx11_nullptr | |
55 | cxx11_rvalue_references | |
56 | cxx11_template_aliases | |
57 | cxx11_thread_local | |
58 | cxx11_variadic_templates ] | |
59 | ; | |
60 | ||
61 | boost-install boost_fiber ; |