Jamfile.v2 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # Copyright Oliver Kowalke 2014.
  2. # Distributed under the Boost Software License, Version 1.0.
  3. # (See accompanying file LICENSE_1_0.txt or copy at
  4. # http://www.boost.org/LICENSE_1_0.txt)
  5. # For more information, see http://www.boost.org/
  6. import common ;
  7. import feature ;
  8. import indirect ;
  9. import modules ;
  10. import os ;
  11. import toolset ;
  12. project boost/coroutine2/performance
  13. : requirements
  14. <library>/boost/chrono//boost_chrono
  15. <library>/boost/context//boost_context
  16. <library>/boost/program_options//boost_program_options
  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. <cxxflags>-DBOOST_DISABLE_ASSERTS
  24. <optimization>speed
  25. <variant>release
  26. ;
  27. alias sources
  28. : bind_processor_aix.cpp
  29. : <target-os>aix
  30. ;
  31. alias sources
  32. : bind_processor_freebsd.cpp
  33. : <target-os>freebsd
  34. ;
  35. alias sources
  36. : bind_processor_hpux.cpp
  37. : <target-os>hpux
  38. ;
  39. alias sources
  40. : bind_processor_linux.cpp
  41. : <target-os>linux
  42. ;
  43. alias sources
  44. : bind_processor_solaris.cpp
  45. : <target-os>solaris
  46. ;
  47. alias sources
  48. : bind_processor_windows.cpp
  49. : <target-os>windows
  50. ;
  51. explicit sources ;
  52. exe performance
  53. : sources
  54. performance.cpp
  55. ;