Jamfile.v2 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 daemon
  14. : daemon.cpp
  15. /boost/system//boost_system
  16. : <define>BOOST_ALL_NO_LIB=1
  17. <threading>multi
  18. <target-os>solaris:<library>socket
  19. <target-os>solaris:<library>nsl
  20. <target-os>windows:<define>_WIN32_WINNT=0x0501
  21. <target-os>windows,<toolset>gcc:<library>ws2_32
  22. <target-os>windows,<toolset>gcc:<library>mswsock
  23. <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
  24. <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
  25. <target-os>hpux:<library>ipv6
  26. <target-os>haiku:<library>network
  27. ;
  28. exe process_per_connection
  29. : process_per_connection.cpp
  30. /boost/system//boost_system
  31. : <define>BOOST_ALL_NO_LIB=1
  32. <threading>multi
  33. <target-os>solaris:<library>socket
  34. <target-os>solaris:<library>nsl
  35. <target-os>windows:<define>_WIN32_WINNT=0x0501
  36. <target-os>windows,<toolset>gcc:<library>ws2_32
  37. <target-os>windows,<toolset>gcc:<library>mswsock
  38. <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
  39. <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
  40. <target-os>hpux:<library>ipv6
  41. <target-os>haiku:<library>network
  42. ;