1 # Boost.Atomic Library test Jamfile
3 # Copyright (c) 2011 Helge Bahmann
4 # Copyright (c) 2012 Tim Blechmann
5 # Copyright (c) 2020 Andrey Semashev
7 # Distributed under the Boost Software License, Version 1.0. (See
8 # accompanying file LICENSE_1_0.txt or copy at
9 # http://www.boost.org/LICENSE_1_0.txt)
13 project boost/atomic/test
16 <library>/boost/thread//boost_thread
17 <library>/boost/atomic//boost_atomic
18 <target-os>windows:<define>BOOST_USE_WINDOWS_H
19 <target-os>windows:<define>_WIN32_WINNT=0x0500
20 <toolset>gcc,<target-os>windows:<linkflags>"-lkernel32"
24 : [ run native_api.cpp ]
25 [ run native_ref_api.cpp ]
26 [ run fallback_api.cpp ]
27 [ run fallback_ref_api.cpp ]
29 [ run atomicity_ref.cpp ]
31 [ run ordering_ref.cpp ]
33 [ compile-fail cf_arith_void_ptr.cpp ]
34 [ compile-fail cf_arith_func_ptr.cpp ]
35 [ compile-fail cf_arith_mem_ptr.cpp ]
36 [ compile c_implicit_ctor.cpp ]