1# 2# Copyright (c) 2003-2021 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 can_prefer_free_prefer.cpp ] 45 [ run can_prefer_free_require.cpp ] 46 [ run can_prefer_member_prefer.cpp ] 47 [ run can_prefer_member_require.cpp ] 48 [ run can_prefer_not_applicable_free_prefer.cpp ] 49 [ run can_prefer_not_applicable_free_require.cpp ] 50 [ run can_prefer_not_applicable_member_prefer.cpp ] 51 [ run can_prefer_not_applicable_member_require.cpp ] 52 [ run can_prefer_not_applicable_static.cpp ] 53 [ run can_prefer_not_applicable_unsupported.cpp ] 54 [ run can_prefer_not_preferable_free_prefer.cpp ] 55 [ run can_prefer_not_preferable_free_require.cpp ] 56 [ run can_prefer_not_preferable_member_prefer.cpp ] 57 [ run can_prefer_not_preferable_member_require.cpp ] 58 [ run can_prefer_not_preferable_static.cpp ] 59 [ run can_prefer_not_preferable_unsupported.cpp ] 60 [ run can_prefer_static.cpp ] 61 [ run can_prefer_unsupported.cpp ] 62 [ run can_query_free.cpp ] 63 [ run can_query_member.cpp ] 64 [ run can_query_not_applicable_free.cpp ] 65 [ run can_query_not_applicable_member.cpp ] 66 [ run can_query_not_applicable_static.cpp ] 67 [ run can_query_not_applicable_unsupported.cpp ] 68 [ run can_query_static.cpp ] 69 [ run can_query_unsupported.cpp ] 70 [ run can_require_concept_free.cpp ] 71 [ run can_require_concept_member.cpp ] 72 [ run can_require_concept_not_applicable_free.cpp ] 73 [ run can_require_concept_not_applicable_member.cpp ] 74 [ run can_require_concept_not_applicable_static.cpp ] 75 [ run can_require_concept_not_applicable_unsupported.cpp ] 76 [ run can_require_concept_static.cpp ] 77 [ run can_require_concept_unsupported.cpp ] 78 [ run can_require_free.cpp ] 79 [ run can_require_member.cpp ] 80 [ run can_require_not_applicable_free.cpp ] 81 [ run can_require_not_applicable_member.cpp ] 82 [ run can_require_not_applicable_static.cpp ] 83 [ run can_require_not_applicable_unsupported.cpp ] 84 [ run can_require_static.cpp ] 85 [ run can_require_unsupported.cpp ] 86 [ run prefer_free_prefer.cpp ] 87 [ run prefer_free_require.cpp ] 88 [ run prefer_member_prefer.cpp ] 89 [ run prefer_member_require.cpp ] 90 [ run prefer_static.cpp ] 91 [ run prefer_unsupported.cpp ] 92 [ run query_free.cpp ] 93 [ run query_member.cpp ] 94 [ run query_static.cpp ] 95 [ run require_concept_free.cpp ] 96 [ run require_concept_member.cpp ] 97 [ run require_concept_static.cpp ] 98 [ run require_free.cpp ] 99 [ run require_member.cpp ] 100 [ run require_static.cpp ] 101 ; 102