jamfile.v2 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Copyright Paul A. Bristow 2013
  2. # Distributed under the Boost Software License, Version 1.0.
  3. # (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. # jamfile.v2 to run all circular_buffer examples.
  5. # bring in the rules for testing.
  6. import testing ;
  7. project
  8. : requirements
  9. <library>/boost/system//boost_system
  10. <library>/boost/thread//boost_thread
  11. #<define>BOOST_ALL_NO_LIB=1
  12. <threading>multi
  13. <toolset>gcc:<cxxflags>-Wno-missing-braces
  14. <toolset>darwin:<cxxflags>-Wno-missing-braces
  15. <toolset>acc:<cxxflags>+W2068,2461,2236,4070
  16. <toolset>intel:<cxxflags>-Qwd264,239
  17. <toolset>msvc:<warnings>all
  18. <toolset>msvc:<asynch-exceptions>on
  19. <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
  20. <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
  21. <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
  22. <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
  23. <toolset>msvc:<cxxflags>/wd4996
  24. <toolset>msvc:<cxxflags>/wd4512
  25. <toolset>msvc:<cxxflags>/wd4610
  26. <toolset>msvc:<cxxflags>/wd4510
  27. <toolset>msvc:<cxxflags>/wd4127
  28. <toolset>msvc:<cxxflags>/wd4701
  29. <toolset>msvc:<cxxflags>/wd4127
  30. <toolset>msvc:<cxxflags>/wd4305
  31. ;
  32. run bounded_buffer_comparison.cpp ../../timer/build//boost_timer ;
  33. run circular_buffer_iter_example.cpp ;
  34. run circular_buffer_sum_example.cpp ;
  35. run circular_buffer_bound_example.cpp ../../thread/build//boost_thread ../../timer/build//boost_timer ;