coroutine/build/Jamfile.v2
Andrey Semashev bcc149cd33 Removed linking with Boost.System.
Since Boost.System is header-only now, no need to link with the library.
2019-01-14 20:58:22 +03:00

46 lines
1.3 KiB
Plaintext

# Copyright Oliver Kowalke 2009.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
import feature ;
import modules ;
import toolset ;
project boost/coroutine
: requirements
<library>/boost/context//boost_context
<library>/boost/thread//boost_thread
<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
<toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
<toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
<link>shared:<define>BOOST_COROUTINES_DYN_LINK=1
<define>BOOST_COROUTINES_SOURCE
: usage-requirements
<link>shared:<define>BOOST_COROUTINES_DYN_LINK=1
: source-location ../src
;
alias stack_traits_sources
: windows/stack_traits.cpp
: <target-os>windows
;
alias stack_traits_sources
: posix/stack_traits.cpp
;
explicit stack_traits_sources ;
lib boost_coroutine
: detail/coroutine_context.cpp
exceptions.cpp
stack_traits_sources
: <link>shared:<library>../../context/build//boost_context
<link>shared:<library>../../thread/build//boost_thread
;
boost-install boost_coroutine ;