Jamfile.v2 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Boost.Coroutine Library Examples Jamfile
  2. # Copyright Oliver Kowalke 2009.
  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/coroutine/example/symmetric
  14. : requirements
  15. <library>/boost/context//boost_context
  16. <library>/boost/coroutine//boost_coroutine
  17. <library>/boost/program_options//boost_program_options
  18. <library>/boost/random//boost_random
  19. <toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
  20. <toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
  21. <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
  22. <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
  23. <link>static
  24. <threading>multi
  25. ;
  26. exe simple
  27. : simple.cpp
  28. ;
  29. exe dice_game
  30. : dice_game.cpp
  31. ;
  32. exe merge_arrays
  33. : merge_arrays.cpp
  34. ;
  35. exe unwind
  36. : unwind.cpp
  37. ;
  38. exe segmented_stack
  39. : segmented_stack.cpp
  40. ;