forked from cpp-netlib/cpp-netlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJamfile.v2
60 lines (52 loc) · 1.96 KB
/
Jamfile.v2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright Dean Michael Berris 2007.
# 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 testing ;
import os ;
if [ os.name ] = CYGWIN
{
lib ws2_32 ;
lib mswsock ;
}
project network_test :
requirements
<include>../../../include
<source>/boost//unit_test_framework
<source>/boost//system
<source>/boost//date_time
<source>/boost//regex
<source>/boost//thread
<source>/boost//filesystem
<variant>debug:<define>NETWORK_DEBUG
<toolset>gcc:<define>NETWORK_ENABLE_HTTPS
<toolset>gcc:<linkflags>-lpthread
<toolset>gcc:<linkflags>-lssl
<toolset>gcc:<linkflags>-lcrypto
<toolset>darwin:<define>NETWORK_ENABLE_HTTPS
<toolset>darwin:<linkflags>-lpthread
<toolset>darwin:<linkflags>-lssl
<toolset>darwin:<linkflags>-lcrypto
<toolset>clang:<define>NETWORK_ENABLE_HTTPS
<toolset>clang:<linkflags>-lpthread
<toolset>clang:<linkflags>-lssl
<toolset>clang:<linkflags>-lcrypto
<os>cygwin,<toolset>gcc:<define>_WIN32_WINNT=0x0501
<os>cygwin,<toolset>gcc:<define>__USE_W32_SOCKETS
<os>cygwin,<toolset>gcc:<library>ws2_32
<os>cygwin,<toolset>gcc:<library>mswsock
<toolset>msvc:<define>BOOST_ASIO_NO_WIN32_LEAN_AND_MEAN
<toolset>msvc:<define>WIN32_LEAN_AND_MEAN
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
<toolset>msvc:<define>_WIN32_WINNT=0x0501
<c++-template-depth>256
<link>static
;
build-project http ;
build-project uri ;
run message_test.cpp /cpp-netlib//cppnetlib-message
/cpp-netlib//cppnetlib-message-directives
/cpp-netlib//cppnetlib-message-wrappers ;
run message_transform_test.cpp /cpp-netlib//cppnetlib-message
/cpp-netlib//cppnetlib-message-directives
/cpp-netlib//cppnetlib-message-wrappers ;