Jamfile.v2 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. # Boost circular_buffer test Jamfile.
  2. #
  3. # Copyright (c) 2003-2008 Jan Gaspar
  4. #
  5. # Distributed under the Boost Software License, Version 1.0. (See
  6. # accompanying file LICENSE_1_0.txt or copy at
  7. # http://www.boost.org/LICENSE_1_0.txt)
  8. # Added warning suppression Paul A. Bristow 25 Nov 2008
  9. # Bring in rules for testing.
  10. import testing ;
  11. project
  12. : requirements
  13. <toolset>msvc:<warnings>all
  14. <toolset>msvc:<asynch-exceptions>on
  15. <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
  16. <toolset>msvc:<cxxflags>/wd4996 # 'function': was declared deprecated
  17. <toolset>msvc:<cxxflags>/wd4244 # conversion from 'int' to 'unsigned short', possible loss of data
  18. # in date-time
  19. ;
  20. test-suite "circular_buffer"
  21. : [ run base_test.cpp : : : <threading>single : ]
  22. [ run space_optimized_test.cpp : : : <threading>single : ]
  23. [ run base_test.cpp : : : <threading>single <define>"BOOST_CB_ENABLE_DEBUG=1" : base_test_dbg ]
  24. [ run space_optimized_test.cpp : : : <threading>single <define>"BOOST_CB_ENABLE_DEBUG=1" : space_optimized_test_dbg ]
  25. [ run soft_iterator_invalidation.cpp : : : <threading>single : ]
  26. [ run constant_erase_test.cpp : : : <threading>single : ]
  27. [ compile bounded_buffer_comparison.cpp : <threading>multi : ]
  28. ;