]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Copyright (c) 2003-2023 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 | lib socket ; # SOLARIS | |
9 | lib nsl ; # SOLARIS | |
10 | lib ws2_32 ; # NT | |
11 | lib mswsock ; # NT | |
12 | lib ipv6 ; # HPUX | |
13 | lib network ; # HAIKU | |
14 | ||
15 | project | |
16 | : requirements | |
17 | <library>/boost/system//boost_system | |
18 | <library>/boost/chrono//boost_chrono | |
19 | <library>/boost/thread//boost_thread | |
20 | <define>BOOST_ALL_NO_LIB=1 | |
21 | <threading>multi | |
22 | <target-os>solaris:<library>socket | |
23 | <target-os>solaris:<library>nsl | |
24 | <target-os>windows:<define>_WIN32_WINNT=0x0501 | |
25 | <target-os>windows,<toolset>gcc:<library>ws2_32 | |
26 | <target-os>windows,<toolset>gcc:<library>mswsock | |
27 | <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS | |
28 | <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED | |
29 | <target-os>hpux:<library>ipv6 | |
30 | <target-os>haiku:<library>network | |
31 | ; | |
32 | ||
33 | exe async_tcp_echo_server : async_tcp_echo_server.cpp ; | |
34 | exe async_udp_echo_server : async_udp_echo_server.cpp ; | |
35 | exe blocking_tcp_echo_client : blocking_tcp_echo_client.cpp ; | |
36 | exe blocking_tcp_echo_server : blocking_tcp_echo_server.cpp ; | |
37 | exe blocking_udp_echo_client : blocking_udp_echo_client.cpp ; | |
38 | exe blocking_udp_echo_server : blocking_udp_echo_server.cpp ; |