Jamfile 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. #
  2. # Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
  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. # Official repository: https://github.com/boostorg/beast
  8. #
  9. import testing ;
  10. import ../../config/checks/config : requires ;
  11. lib lib-test
  12. : lib_test.cpp
  13. : requirements
  14. <link>static
  15. $(defines)
  16. : usage-requirements
  17. <include>./extras/include
  18. $(defines)
  19. ;
  20. project /boost/beast/test
  21. : requirements
  22. [ requires
  23. cxx11_constexpr
  24. cxx11_decltype
  25. cxx11_hdr_tuple
  26. #cxx11_sfinae_expr # Every MSVC fails this
  27. cxx11_template_aliases
  28. cxx11_variadic_templates
  29. ]
  30. <include>./extern
  31. <define>BOOST_BEAST_TESTS
  32. <library>/boost/beast//lib-asio/<link>static
  33. <boost.beast.separate-compilation>on:<library>/boost/beast//lib-beast/<link>static
  34. <library>/boost/filesystem//boost_filesystem
  35. <library>/boost/coroutine//boost_coroutine
  36. ;
  37. path-constant ZLIB_SOURCES :
  38. extern/zlib-1.2.11/adler32.c
  39. extern/zlib-1.2.11/compress.c
  40. extern/zlib-1.2.11/crc32.c
  41. extern/zlib-1.2.11/deflate.c
  42. extern/zlib-1.2.11/infback.c
  43. extern/zlib-1.2.11/inffast.c
  44. extern/zlib-1.2.11/inflate.c
  45. extern/zlib-1.2.11/inftrees.c
  46. extern/zlib-1.2.11/trees.c
  47. extern/zlib-1.2.11/uncompr.c
  48. extern/zlib-1.2.11/zutil.c
  49. ;
  50. alias run-tests :
  51. beast//run-tests
  52. bench//run-tests
  53. doc//run-tests
  54. example//run-tests
  55. ;
  56. alias fat-tests :
  57. beast//fat-tests
  58. doc//fat-tests
  59. example//fat-tests
  60. ;
  61. explicit fat-tests ;
  62. alias run-fat-tests :
  63. beast//run-fat-tests
  64. doc//run-fat-tests
  65. example//run-fat-tests
  66. ;
  67. explicit run-fat-tests ;