• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (c) 2003-2020 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
8import feature ;
9
10lib socket ; # SOLARIS, QNXNTO
11lib nsl ; # SOLARIS
12lib ws2_32 ; # NT
13lib mswsock ; # NT
14lib ipv6 ; # HPUX
15lib network ; # HAIKU
16
17project
18  : requirements
19    <library>/boost/date_time//boost_date_time
20    <library>/boost/system//boost_system
21    <library>/boost/chrono//boost_chrono
22    <library>/boost/regex//boost_regex
23    <define>BOOST_ALL_NO_LIB=1
24    <threading>multi
25    <target-os>linux:<define>_XOPEN_SOURCE=600
26    <target-os>linux:<define>_GNU_SOURCE=1
27    <target-os>solaris:<define>_XOPEN_SOURCE=500
28    <target-os>solaris:<define>__EXTENSIONS__
29    <target-os>solaris:<library>socket
30    <target-os>solaris:<library>nsl
31    <target-os>windows:<define>_WIN32_WINNT=0x0501
32    <target-os>windows,<toolset>cw:<library>ws2_32
33    <target-os>windows,<toolset>cw:<library>mswsock
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>qnxnto:<library>socket
40    <target-os>haiku:<library>network
41  ;
42
43test-suite "asio" :
44  [ run any_executor.cpp ]
45  [ run blocking.cpp ]
46  [ run blocking_adaptation.cpp ]
47  [ run bulk_execute.cpp ]
48  [ run bulk_guarantee.cpp ]
49  [ run connect.cpp : : : : execution_connect ]
50  [ run context_as.cpp ]
51  [ run execute.cpp ]
52  [ run executor.cpp ]
53  [ run invocable_archetype.cpp ]
54  [ run mapping.cpp ]
55  [ run operation_state.cpp ]
56  [ run outstanding_work.cpp ]
57  [ run prefer_only.cpp ]
58  [ run receiver.cpp ]
59  [ run relationship.cpp ]
60  [ run schedule.cpp ]
61  [ run scheduler.cpp ]
62  [ run sender.cpp ]
63  [ run set_done.cpp ]
64  [ run set_error.cpp ]
65  [ run set_value.cpp ]
66  [ run start.cpp ]
67  [ run submit.cpp ]
68  ;
69