Jamfile.v2 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # Boost.Context Library Examples Jamfile
  2. # Copyright Oliver Kowalke 2014.
  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. import architecture ;
  14. project boost/context/example/callcc
  15. : requirements
  16. <library>/boost/context//boost_context
  17. <toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
  18. <toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
  19. <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
  20. <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
  21. <link>static
  22. <threading>multi
  23. ;
  24. exe stack
  25. : stack.cpp
  26. ;
  27. exe jump_void
  28. : jump_void.cpp
  29. ;
  30. exe jump
  31. : jump.cpp
  32. ;
  33. exe jump_mov
  34. : jump_mov.cpp
  35. ;
  36. exe ontop_void
  37. : ontop_void.cpp
  38. ;
  39. exe throw
  40. : throw.cpp
  41. ;
  42. exe fibonacci
  43. : fibonacci.cpp
  44. ;
  45. exe parser
  46. : parser.cpp
  47. ;
  48. exe ontop
  49. : ontop.cpp
  50. ;
  51. exe endless_loop
  52. : endless_loop.cpp
  53. ;
  54. exe segmented
  55. : segmented.cpp
  56. ;
  57. #exe backtrace
  58. # : backtrace.cpp
  59. # ;
  60. #exe echosse
  61. # : echosse.cpp
  62. # ;