Jamfile.v2 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. # Boost.Coroutine Library Tests 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. import common ;
  7. import feature ;
  8. import indirect ;
  9. import modules ;
  10. import os ;
  11. import testing ;
  12. import toolset ;
  13. project boost/coroutine/test
  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/test///boost_unit_test_framework
  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. test-suite "coroutine" :
  27. [ run test_asymmetric_coroutine.cpp ]
  28. [ run test_symmetric_coroutine.cpp ]
  29. ;