]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/asio/test/experimental/coro/Jamfile.v2
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / asio / test / experimental / coro / Jamfile.v2
1 #
2 # Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
3 #
4 # Distributed under the Boost Software License, Version 1.0. (See accompanying
5 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #
7
8 import os ;
9 import feature ;
10
11 lib socket ; # SOLARIS
12 lib nsl ; # SOLARIS
13 lib ws2_32 ; # NT
14 lib mswsock ; # NT
15 lib ipv6 ; # HPUX
16 lib network ; # HAIKU
17
18 local USE_SELECT =
19 <define>BOOST_ASIO_DISABLE_EPOLL
20 <define>BOOST_ASIO_DISABLE_KQUEUE
21 <define>BOOST_ASIO_DISABLE_IOCP
22 ;
23
24 project
25 : requirements
26 <library>/boost/date_time//boost_date_time
27 <library>/boost/system//boost_system
28 <library>/boost/chrono//boost_chrono
29 <define>BOOST_ALL_NO_LIB=1
30 <threading>multi
31 <target-os>solaris:<library>socket
32 <target-os>solaris:<library>nsl
33 <target-os>windows:<define>_WIN32_WINNT=0x0501
34 <target-os>windows,<toolset>gcc:<library>ws2_32
35 <target-os>windows,<toolset>gcc:<library>mswsock
36 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
37 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
38 <target-os>hpux:<library>ipv6
39 <target-os>haiku:<library>network
40 ;
41
42 test-suite "asio-experimental-coro" :
43 [ run cancel.cpp ]
44 [ run cancel.cpp : : : $(USE_SELECT) : cancel_select ]
45 [ run co_spawn.cpp ]
46 [ run co_spawn.cpp : : : $(USE_SELECT) : co_spawn_select ]
47 [ run exception.cpp ]
48 [ run exception.cpp : : : $(USE_SELECT) : exception_select ]
49 [ run executor.cpp ]
50 [ run executor.cpp : : : $(USE_SELECT) : executor_select ]
51 [ run partial.cpp ]
52 [ run partial.cpp : : : $(USE_SELECT) : partial_select ]
53 [ run simple_test.cpp ]
54 [ run simple_test.cpp : : : $(USE_SELECT) : simple_test_select ]
55 [ run stack_test.cpp ]
56 [ run stack_test.cpp : : : $(USE_SELECT) : stack_test_select ]
57 [ run use_coro.cpp ]
58 [ run use_coro.cpp : : : $(USE_SELECT) : use_coro_select ]
59 ;