1 2# Copyright Oliver Kowalke 2014. 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/coroutine2/performance/segmented_stack 17 : requirements 18 <library>/boost/chrono//boost_chrono 19 <library>/boost/coroutine//boost_coroutine 20 <library>/boost/program_options//boost_program_options 21 <segmented-stacks>on 22 <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack 23 <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS 24 <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack 25 <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS 26 <link>static 27 <threading>multi 28 <cxxflags>-DBOOST_DISABLE_ASSERTS 29 <optimization>speed 30 <variant>release 31 ; 32 33alias sources 34 : ../bind_processor_aix.cpp 35 : <target-os>aix 36 ; 37 38alias sources 39 : ../bind_processor_freebsd.cpp 40 : <target-os>freebsd 41 ; 42 43alias sources 44 : ../bind_processor_hpux.cpp 45 : <target-os>hpux 46 ; 47 48alias sources 49 : ../bind_processor_linux.cpp 50 : <target-os>linux 51 ; 52 53alias sources 54 : ../bind_processor_solaris.cpp 55 : <target-os>solaris 56 ; 57 58alias sources 59 : ../bind_processor_windows.cpp 60 : <target-os>windows 61 ; 62 63explicit sources ; 64 65exe performance_create_segmented 66 : sources 67 performance_create_segmented.cpp 68 ; 69 70exe performance_switch 71 : sources 72 performance_switch.cpp 73 ; 74