]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/coroutine/build/Jamfile.v2
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / coroutine / build / Jamfile.v2
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
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
22 : usage-requirements
23 <link>shared:<define>BOOST_COROUTINES_DYN_LINK=1
24 : source-location ../src
25 ;
26
27 alias stack_traits_sources
28 : windows/stack_traits.cpp
29 : <target-os>windows
30 ;
31
32 alias stack_traits_sources
33 : posix/stack_traits.cpp
34 ;
35
36 explicit stack_traits_sources ;
37
38 lib boost_coroutine
39 : detail/coroutine_context.cpp
40 exceptions.cpp
41 stack_traits_sources
42 : <link>shared:<library>../../context/build//boost_context
43 <link>shared:<library>../../system/build//boost_system
44 <link>shared:<library>../../thread/build//boost_thread
45 ;
46
47 boost-install boost_coroutine ;