]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/atomic/build/Jamfile.v2
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / atomic / build / Jamfile.v2
1 # Boost.Atomic Library Jamfile
2 #
3 # Copyright Helge Bahmann 2011.
4 # Copyright Andrey Semashev 2018.
5 #
6 # Distributed under the Boost Software License, Version 1.0.
7 # (See accompanying file LICENSE_1_0.txt or copy at
8 # http://www.boost.org/LICENSE_1_0.txt)
9
10 import common ;
11
12 project boost/atomic
13 : requirements
14 <threading>multi
15 <link>shared:<define>BOOST_ATOMIC_DYN_LINK=1
16 <link>static:<define>BOOST_ATOMIC_STATIC_LINK=1
17 <define>BOOST_ATOMIC_SOURCE
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"
21 : usage-requirements
22 <link>shared:<define>BOOST_ATOMIC_DYN_LINK=1
23 <link>static:<define>BOOST_ATOMIC_STATIC_LINK=1
24 : source-location ../src
25 ;
26
27 alias atomic_sources
28 : lockpool.cpp
29 ;
30
31 explicit atomic_sources ;
32
33
34 lib boost_atomic
35 : atomic_sources
36 ;
37
38 boost-install boost_atomic ;