summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/fiber/examples/Jamfile.v2
blob: 0ebe2daf69c18fff4285d22b6e8ed0213f501a31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Boost.Fiber Library Examples 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)

# For more information, see http://www.boost.org/

import common ;
import feature ;
import indirect ;
import modules ;
import os ;
import toolset ;

project boost/fiber/example
    : requirements
      <library>../build//boost_fiber
      <library>/boost/context//boost_context
      <library>/boost/filesystem//boost_filesystem
      <library>/boost/thread//boost_thread
      <target-os>solaris:<linkflags>"-llgrp"
      <target-os>solaris:<linkflags>"-lsocket"
      <target-os>windows:<define>_WIN32_WINNT=0x0601
      <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
      <threading>multi
    ;

exe adapt_callbacks : adapt_callbacks.cpp ;
exe adapt_method_calls : adapt_method_calls.cpp ;
exe adapt_nonblocking : adapt_nonblocking.cpp ;
exe barrier : barrier.cpp ;
exe future : future.cpp ;
exe join : join.cpp ;
exe ping_pong : ping_pong.cpp ;
exe range_for : range_for.cpp ;
exe priority : priority.cpp ;
exe segmented_stack : segmented_stack.cpp ;
exe simple : simple.cpp ;
exe wait_stuff : wait_stuff.cpp ;
exe work_sharing : work_sharing.cpp ;
exe work_stealing : work_stealing.cpp ;

exe asio/autoecho : asio/autoecho.cpp ;
exe asio/exchange : asio/exchange.cpp ;
exe asio/ps/publisher : asio/ps/publisher.cpp ;
exe asio/ps/server : asio/ps/server.cpp ;
exe asio/ps/subscriber : asio/ps/subscriber.cpp ;