Jamfile.v2 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Boost.Fiber Library Examples Jamfile
  2. # Copyright Oliver Kowalke 2013.
  3. # Distributed under the Boost Software License, Version 1.0.
  4. # (See accompanying file LICENSE_1_0.txt or copy at
  5. # http://www.boost.org/LICENSE_1_0.txt)
  6. # For more information, see http://www.boost.org/
  7. import common ;
  8. import feature ;
  9. import indirect ;
  10. import modules ;
  11. import os ;
  12. import toolset ;
  13. project boost/fiber/example
  14. : requirements
  15. <library>../build//boost_fiber
  16. <library>/boost/context//boost_context
  17. <library>/boost/filesystem//boost_filesystem
  18. <library>/boost/thread//boost_thread
  19. <target-os>solaris:<linkflags>"-llgrp"
  20. <target-os>solaris:<linkflags>"-lsocket"
  21. <target-os>windows:<define>_WIN32_WINNT=0x0601
  22. <toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
  23. <toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
  24. <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
  25. <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
  26. <link>shared
  27. <threading>multi
  28. ;
  29. exe adapt_callbacks : adapt_callbacks.cpp ;
  30. exe adapt_method_calls : adapt_method_calls.cpp ;
  31. exe adapt_nonblocking : adapt_nonblocking.cpp ;
  32. exe barrier : barrier.cpp ;
  33. exe future : future.cpp ;
  34. exe join : join.cpp ;
  35. exe ping_pong : ping_pong.cpp ;
  36. exe range_for : range_for.cpp ;
  37. exe priority : priority.cpp ;
  38. exe segmented_stack : segmented_stack.cpp ;
  39. exe simple : simple.cpp ;
  40. exe wait_stuff : wait_stuff.cpp ;
  41. exe work_sharing : work_sharing.cpp ;
  42. exe work_stealing : work_stealing.cpp ;
  43. exe asio/autoecho : asio/autoecho.cpp ;
  44. exe asio/exchange : asio/exchange.cpp ;
  45. exe asio/ps/publisher : asio/ps/publisher.cpp ;
  46. exe asio/ps/server : asio/ps/server.cpp ;
  47. exe asio/ps/subscriber : asio/ps/subscriber.cpp ;