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# For more information, see http://www.boost.org/ 8 9import common ; 10import feature ; 11import indirect ; 12import modules ; 13import os ; 14import toolset ; 15 16project boost/context/performance/fiber 17 : requirements 18 <library>/boost/chrono//boost_chrono 19 <library>/boost/context//boost_context 20 <library>/boost/program_options//boost_program_options 21 <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack 22 <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS 23 <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack 24 <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS 25 <link>static 26 <optimization>speed 27 <threading>multi 28 <variant>release 29 <cxxflags>-DBOOST_DISABLE_ASSERTS 30 ; 31 32exe performance 33 : performance.cpp 34 ; 35