]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # Boost.Fiber Library Examples Jamfile |
2 | ||
3 | # Copyright Oliver Kowalke 2013. | |
4 | # Distributed under the Boost Software License, Version 1.0. | |
5 | # (See accompanying file LICENSE_1_0.txt or copy at | |
6 | # http://www.boost.org/LICENSE_1_0.txt) | |
7 | ||
8 | # For more information, see http://www.boost.org/ | |
9 | ||
10 | import common ; | |
11 | import feature ; | |
12 | import indirect ; | |
13 | import modules ; | |
14 | import os ; | |
15 | import toolset ; | |
16 | ||
17 | project boost/fiber/example | |
18 | : requirements | |
19 | <library>../build//boost_fiber | |
b32b8144 FG |
20 | <library>/boost/context//boost_context |
21 | <library>/boost/filesystem//boost_filesystem | |
7c673cae | 22 | <library>/boost/thread//boost_thread |
b32b8144 FG |
23 | <target-os>solaris:<linkflags>"-llgrp" |
24 | <target-os>solaris:<linkflags>"-lsocket" | |
25 | <target-os>windows:<define>_WIN32_WINNT=0x0601 | |
20effc67 TL |
26 | <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack |
27 | <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS | |
7c673cae FG |
28 | <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack |
29 | <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS | |
b32b8144 | 30 | <link>shared |
7c673cae FG |
31 | <threading>multi |
32 | ; | |
33 | ||
34 | exe adapt_callbacks : adapt_callbacks.cpp ; | |
35 | exe adapt_method_calls : adapt_method_calls.cpp ; | |
36 | exe adapt_nonblocking : adapt_nonblocking.cpp ; | |
37 | exe barrier : barrier.cpp ; | |
38 | exe future : future.cpp ; | |
39 | exe join : join.cpp ; | |
40 | exe ping_pong : ping_pong.cpp ; | |
b32b8144 | 41 | exe range_for : range_for.cpp ; |
7c673cae FG |
42 | exe priority : priority.cpp ; |
43 | exe segmented_stack : segmented_stack.cpp ; | |
44 | exe simple : simple.cpp ; | |
45 | exe wait_stuff : wait_stuff.cpp ; | |
46 | exe work_sharing : work_sharing.cpp ; | |
b32b8144 | 47 | exe work_stealing : work_stealing.cpp ; |
7c673cae FG |
48 | |
49 | exe asio/autoecho : asio/autoecho.cpp ; | |
b32b8144 | 50 | exe asio/exchange : asio/exchange.cpp ; |
7c673cae FG |
51 | exe asio/ps/publisher : asio/ps/publisher.cpp ; |
52 | exe asio/ps/server : asio/ps/server.cpp ; | |
53 | exe asio/ps/subscriber : asio/ps/subscriber.cpp ; |