]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
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" : | |
43 | [ run append.cpp ] | |
44 | [ run append.cpp : : : $(USE_SELECT) : append_select ] | |
45 | [ run as_tuple.cpp ] | |
46 | [ run as_tuple.cpp : : : $(USE_SELECT) : as_tuple_select ] | |
47 | [ run awaitable_operators.cpp ] | |
48 | [ run awaitable_operators.cpp : : : $(USE_SELECT) : awaitable_operators_select ] | |
49 | [ run basic_channel.cpp ] | |
50 | [ run basic_channel.cpp : : : $(USE_SELECT) : basic_channel_select ] | |
51 | [ run basic_concurrent_channel.cpp ] | |
52 | [ run basic_concurrent_channel.cpp : : : $(USE_SELECT) : basic_concurrent_channel_select ] | |
53 | [ run channel.cpp ] | |
54 | [ run channel.cpp : : : $(USE_SELECT) : channel_select ] | |
55 | [ run channel_traits.cpp ] | |
56 | [ run channel_traits.cpp : : : $(USE_SELECT) : channel_traits_select ] | |
57 | [ run concurrent_channel.cpp ] | |
58 | [ run concurrent_channel.cpp : : : $(USE_SELECT) : concurrent_channel_select ] | |
59 | [ run deferred.cpp ] | |
60 | [ run deferred.cpp : : : $(USE_SELECT) : deferred_select ] | |
61 | [ run prepend.cpp ] | |
62 | [ run prepend.cpp : : : $(USE_SELECT) : prepend_select ] | |
63 | [ run promise.cpp ] | |
64 | [ run promise.cpp : : : $(USE_SELECT) : promise_select ] | |
65 | ; |