• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
10import common ;
11import feature ;
12import indirect ;
13import modules ;
14import os ;
15import toolset ;
16
17project boost/fiber/example
18    : requirements
19      <library>../build//boost_fiber
20      <library>/boost/context//boost_context
21      <library>/boost/filesystem//boost_filesystem
22      <library>/boost/thread//boost_thread
23      <target-os>solaris:<linkflags>"-llgrp"
24      <target-os>solaris:<linkflags>"-lsocket"
25      <target-os>windows:<define>_WIN32_WINNT=0x0601
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
28      <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
29      <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
30      <link>shared
31      <threading>multi
32    ;
33
34exe adapt_callbacks : adapt_callbacks.cpp ;
35exe adapt_method_calls : adapt_method_calls.cpp ;
36exe adapt_nonblocking : adapt_nonblocking.cpp ;
37exe barrier : barrier.cpp ;
38exe future : future.cpp ;
39exe join : join.cpp ;
40exe ping_pong : ping_pong.cpp ;
41exe range_for : range_for.cpp ;
42exe priority : priority.cpp ;
43exe segmented_stack : segmented_stack.cpp ;
44exe simple : simple.cpp ;
45exe wait_stuff : wait_stuff.cpp ;
46exe work_sharing : work_sharing.cpp ;
47exe work_stealing : work_stealing.cpp ;
48
49exe asio/autoecho : asio/autoecho.cpp ;
50exe asio/exchange : asio/exchange.cpp ;
51exe asio/ps/publisher : asio/ps/publisher.cpp ;
52exe asio/ps/server : asio/ps/server.cpp ;
53exe asio/ps/subscriber : asio/ps/subscriber.cpp ;
54