]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/asio/test/ssl/Jamfile.v2
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / asio / test / ssl / Jamfile.v2
CommitLineData
7c673cae 1#
b32b8144 2# Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
7c673cae
FG
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 os ;
9import feature ;
10
11lib ssl ;
12lib crypto ;
13
14if [ os.name ] = SOLARIS
15{
16 lib socket ;
17 lib nsl ;
18}
19else if [ os.name ] = NT
20{
21 lib ws2_32 ;
22 lib mswsock ;
23}
24else if [ os.name ] = HPUX
25{
26 lib ipv6 ;
27}
28else if [ os.name ] = HAIKU
29{
30 lib network ;
31}
32
33local USE_SELECT =
34 <define>BOOST_ASIO_DISABLE_EPOLL
35 <define>BOOST_ASIO_DISABLE_KQUEUE
36 <define>BOOST_ASIO_DISABLE_IOCP
37 ;
38
39project
40 : requirements
41 <library>/boost/date_time//boost_date_time
42 <library>/boost/system//boost_system
43 <define>BOOST_ALL_NO_LIB=1
44 <threading>multi
45 <os>SOLARIS:<library>socket
46 <os>SOLARIS:<library>nsl
47 <os>NT:<define>_WIN32_WINNT=0x0501
48 <os>NT,<toolset>gcc:<library>ws2_32
49 <os>NT,<toolset>gcc:<library>mswsock
50 <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
51 <os>HPUX,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
52 <os>HPUX:<library>ipv6
53 <os>HAIKU:<library>network
54 ;
55
56test-suite "asio-ssl" :
7c673cae
FG
57 [ compile context_base.cpp ]
58 [ compile context_base.cpp : $(USE_SELECT) : context_base_select ]
7c673cae
FG
59 [ compile context.cpp ]
60 [ compile context.cpp : $(USE_SELECT) : context_select ]
b32b8144
FG
61 [ compile error.cpp ]
62 [ compile error.cpp : $(USE_SELECT) : error_select ]
7c673cae
FG
63 [ compile rfc2818_verification.cpp ]
64 [ compile rfc2818_verification.cpp : $(USE_SELECT) : rfc2818_verification_select ]
65 [ compile stream_base.cpp ]
66 [ compile stream_base.cpp : $(USE_SELECT) : stream_base_select ]
7c673cae
FG
67 [ compile stream.cpp ]
68 [ compile stream.cpp : $(USE_SELECT) : stream_select ]
69 ;