# # Copyright (c) 2013-2016 Vinnie Falco (vinnie dot falco at gmail 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 ; import feature ; import boost ; boost.use-project ; if [ os.name ] = SOLARIS { lib socket ; lib nsl ; } else if [ os.name ] = NT { lib ws2_32 ; lib mswsock ; } else if [ os.name ] = HPUX { lib ipv6 ; } else if [ os.name ] = QNXNTO { lib socket ; } else if [ os.name ] = HAIKU { lib network ; } if [ os.name ] = NT { lib ssl : : ssleay32 ; lib crypto : : libeay32 ; } else { lib ssl ; lib crypto ; } project beast : requirements . ./include #/boost//headers /boost/system//boost_system /boost/filesystem//boost_filesystem /boost/program_options//boost_program_options # ssl # crypto BOOST_ALL_NO_LIB=1 BOOST_SYSTEM_NO_DEPRECATED=1 multi static shared on gcc:-std=c++11 gcc:-Wno-unused-variable clang:-std=c++11 msvc:_SCL_SECURE_NO_WARNINGS=1 msvc:_CRT_SECURE_NO_WARNINGS=1 LINUX:_XOPEN_SOURCE=600 LINUX:_GNU_SOURCE=1 SOLARIS:_XOPEN_SOURCE=500 SOLARIS:__EXTENSIONS__ SOLARIS:socket SOLARIS:nsl NT:_WIN32_WINNT=0x0501 NT,cw:ws2_32 NT,cw:mswsock NT,gcc:ws2_32 NT,gcc:mswsock NT,gcc-cygwin:__USE_W32_SOCKETS HPUX,gcc:_XOPEN_SOURCE_EXTENDED HPUX:ipv6 QNXNTO:socket HAIKU:network : usage-requirements . : build-dir bin ; build-project test ; build-project examples ;