mirror of
https://github.com/boostorg/asio.git
synced 2026-01-28 18:52:09 +00:00
34 lines
687 B
Plaintext
34 lines
687 B
Plaintext
#
|
|
# Copyright (c) 2003-2007 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
#
|
|
|
|
import os ;
|
|
|
|
if [ os.name ] = SOLARIS
|
|
{
|
|
lib socket ;
|
|
lib nsl ;
|
|
}
|
|
else if [ os.name ] = NT
|
|
{
|
|
lib ws2_32 ;
|
|
lib mswsock ;
|
|
}
|
|
|
|
project
|
|
: requirements
|
|
<library>/boost/system//boost_system
|
|
<define>BOOST_ALL_NO_LIB=1
|
|
<threading>multi
|
|
<os>SOLARIS:<library>socket
|
|
<os>SOLARIS:<library>nsl
|
|
<os>NT,<toolset>gcc:<library>ws2_32
|
|
<os>NT,<toolset>gcc:<library>mswsock
|
|
;
|
|
|
|
exe receiver : receiver.cpp ;
|
|
exe sender : sender.cpp ;
|