]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/coroutine/build/Jamfile.v2
update ceph source to reef 18.1.2
[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 <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
15 <target-os>linux,<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_COROUTINES_DYN_LINK=1
19 <define>BOOST_COROUTINES_SOURCE
20 : usage-requirements
21 <link>shared:<define>BOOST_COROUTINES_DYN_LINK=1
22 : source-location ../src
23 ;
24
25 alias stack_traits_sources
26 : windows/stack_traits.cpp
27 : <target-os>windows
28 ;
29
30 alias stack_traits_sources
31 : posix/stack_traits.cpp
32 ;
33
34 explicit stack_traits_sources ;
35
36 lib boost_coroutine
37 : detail/coroutine_context.cpp
38 exceptions.cpp
39 stack_traits_sources
40 : <link>shared:<library>../../context/build//boost_context
41 ;
42
43 boost-install boost_coroutine ;