Jamfile.v2 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #
  2. # Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff 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. import os ;
  8. import feature ;
  9. lib ssl ;
  10. lib crypto ;
  11. lib socket ; # SOLARIS
  12. lib nsl ; # SOLARIS
  13. lib ws2_32 ; # NT
  14. lib mswsock ; # NT
  15. lib ipv6 ; # HPUX
  16. lib network ; # HAIKU
  17. local USE_SELECT =
  18. <define>BOOST_ASIO_DISABLE_EPOLL
  19. <define>BOOST_ASIO_DISABLE_KQUEUE
  20. <define>BOOST_ASIO_DISABLE_IOCP
  21. ;
  22. project
  23. : requirements
  24. <library>/boost/date_time//boost_date_time
  25. <library>/boost/system//boost_system
  26. <library>/boost/chrono//boost_chrono
  27. <define>BOOST_ALL_NO_LIB=1
  28. <threading>multi
  29. <target-os>solaris:<library>socket
  30. <target-os>solaris:<library>nsl
  31. <target-os>windows:<define>_WIN32_WINNT=0x0501
  32. <target-os>windows,<toolset>gcc:<library>ws2_32
  33. <target-os>windows,<toolset>gcc:<library>mswsock
  34. <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
  35. <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
  36. <target-os>hpux:<library>ipv6
  37. <target-os>haiku:<library>network
  38. ;
  39. test-suite "asio-ssl" :
  40. [ compile context_base.cpp ]
  41. [ compile context_base.cpp : $(USE_SELECT) : context_base_select ]
  42. [ compile context.cpp ]
  43. [ compile context.cpp : $(USE_SELECT) : context_select ]
  44. [ compile error.cpp ]
  45. [ compile error.cpp : $(USE_SELECT) : error_select ]
  46. [ compile rfc2818_verification.cpp ]
  47. [ compile rfc2818_verification.cpp : $(USE_SELECT) : rfc2818_verification_select ]
  48. [ compile stream_base.cpp ]
  49. [ compile stream_base.cpp : $(USE_SELECT) : stream_base_select ]
  50. [ compile stream.cpp ]
  51. [ compile stream.cpp : $(USE_SELECT) : stream_select ]
  52. ;