]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/coroutine/build/Jamfile.v2
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / coroutine / build / Jamfile.v2
CommitLineData
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
7import feature ;
8import modules ;
9import toolset ;
10
11project 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
26alias stack_traits_sources
27 : windows/stack_traits.cpp
28 : <target-os>windows
29 ;
30
31alias stack_traits_sources
32 : posix/stack_traits.cpp
33 ;
34
35explicit stack_traits_sources ;
36
37lib 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
45boost-install boost_coroutine ;