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