Jamfile.v2 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. lib socket ; # SOLARIS
  8. lib nsl ; # SOLARIS
  9. lib ws2_32 ; # NT
  10. lib mswsock ; # NT
  11. lib ipv6 ; # HPUX
  12. lib network ; # HAIKU
  13. exe server
  14. : echo_server.cpp
  15. /boost/context//boost_context
  16. /boost/coroutine//boost_coroutine
  17. /boost/system//boost_system
  18. /boost/chrono//boost_chrono
  19. : <define>BOOST_ALL_NO_LIB=1
  20. <threading>multi
  21. <target-os>solaris:<library>socket
  22. <target-os>solaris:<library>nsl
  23. <target-os>windows:<define>_WIN32_WINNT=0x0501
  24. <target-os>windows,<toolset>gcc:<library>ws2_32
  25. <target-os>windows,<toolset>gcc:<library>mswsock
  26. <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
  27. <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
  28. <target-os>hpux:<library>ipv6
  29. <target-os>haiku:<library>network
  30. ;
  31. exe parallel_grep
  32. : parallel_grep.cpp
  33. /boost/context//boost_context
  34. /boost/coroutine//boost_coroutine
  35. /boost/system//boost_system
  36. : <define>BOOST_ALL_NO_LIB=1
  37. <threading>multi
  38. <target-os>solaris:<library>socket
  39. <target-os>solaris:<library>nsl
  40. <target-os>windows:<define>_WIN32_WINNT=0x0501
  41. <target-os>windows,<toolset>gcc:<library>ws2_32
  42. <target-os>windows,<toolset>gcc:<library>mswsock
  43. <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
  44. <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
  45. <target-os>hpux:<library>ipv6
  46. <target-os>haiku:<library>network
  47. ;