Blame view

3rdparty/boost_1_81_0/libs/beast/test/Jamfile 1.93 KB
e6ccf0ce   Hu Chunming   提交三方库
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
  #
  # Copyright (c) 2016-2017 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)
  #
  # Official repository: https://github.com/boostorg/beast
  #
  
  import testing ;
  import ../../config/checks/config : requires ;
  
  lib lib-test
      : lib_test.cpp
      : requirements
      <link>static
      $(defines)
      : usage-requirements
      <include>./extras/include
      $(defines)
      ;
  
  project /boost/beast/test
      : requirements
      [ requires
          cxx11_constexpr
          cxx11_decltype
          cxx11_hdr_tuple
          #cxx11_sfinae_expr # Every MSVC fails this
          cxx11_template_aliases
          cxx11_variadic_templates
      ]
      <include>./extern
      <define>BOOST_BEAST_TESTS
      <target-os>darwin:<define>Z_HAVE_UNISTD_H=1
      <library>/boost/beast//lib-asio/<link>static
      <boost.beast.separate-compilation>on:<library>/boost/beast//lib-beast/<link>static
      <library>/boost/filesystem//boost_filesystem
      <library>/boost/coroutine//boost_coroutine
      ;
  
  path-constant ZLIB_SOURCES :
      extern/zlib-1.2.12/adler32.c
      extern/zlib-1.2.12/compress.c
      extern/zlib-1.2.12/crc32.c
      extern/zlib-1.2.12/deflate.c
     #extern/zlib-1.2.12/gzclose.c
     #extern/zlib-1.2.12/gzlib.c
     #extern/zlib-1.2.12/gzread.c
     #extern/zlib-1.2.12/gzwrite.c
      extern/zlib-1.2.12/infback.c
      extern/zlib-1.2.12/inffast.c
      extern/zlib-1.2.12/inflate.c
      extern/zlib-1.2.12/inftrees.c
      extern/zlib-1.2.12/trees.c
      extern/zlib-1.2.12/uncompr.c
      extern/zlib-1.2.12/zutil.c
      ;
  
  alias run-tests :
      beast//run-tests
      bench//run-tests
      doc//run-tests
      example//run-tests
      ;
  
  alias fat-tests :
      beast//fat-tests
      doc//fat-tests
      example//fat-tests
      ;
  
  explicit fat-tests ;
  
  alias run-fat-tests :
      beast//run-fat-tests
      doc//run-fat-tests
      example//run-fat-tests
      ;
  
  explicit run-fat-tests ;