2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-20 14:42:21 +00:00
Files
fiber/build/Jamfile.v2
2016-12-13 08:19:15 +01:00

64 lines
1.9 KiB
Plaintext

# Boost.Fiber Library Build Jamfile
# Copyright Oliver Kowalke 2013.
# 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 testing ;
import toolset ;
import ../../config/checks/config : requires ;
project boost/fiber
: requirements
<library>/boost/context//boost_context
<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_FIBERS_DYN_LINK=1
<define>BOOST_FIBERS_SOURCE
<threading>multi
: usage-requirements
<link>shared:<define>BOOST_FIBERS_DYN_LINK=1
<optimization>speed:<define>BOOST_DISABLE_ASSERTS
<variant>release:<define>BOOST_DISABLE_ASSERTS
: source-location ../src
;
lib boost_fiber
: algo/algorithm.cpp
algo/round_robin.cpp
algo/shared_work.cpp
algo/work_stealing.cpp
barrier.cpp
condition_variable.cpp
context.cpp
fiber.cpp
future.cpp
mutex.cpp
properties.cpp
recursive_mutex.cpp
recursive_timed_mutex.cpp
timed_mutex.cpp
scheduler.cpp
: <link>shared:<library>../../context/build//boost_context
[ requires cxx11_auto_declarations
cxx11_constexpr
cxx11_defaulted_functions
cxx11_final
cxx11_hdr_mutex
cxx11_hdr_tuple
cxx11_lambdas
cxx11_noexcept
cxx11_nullptr
cxx11_rvalue_references
cxx11_template_aliases
cxx11_thread_local
cxx11_variadic_templates ]
;
boost-install boost_fiber ;