summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/atomic/build/Jamfile.v2
blob: 371034121c5ca2727add47c8a5b3c5c74b458b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#  Boost.Atomic Library Jamfile
#
#  Copyright Helge Bahmann 2011.
#  Copyright Andrey Semashev 2018.
#
#  Distributed under the Boost Software License, Version 1.0.
#  (See accompanying file LICENSE_1_0.txt or copy at
#  http://www.boost.org/LICENSE_1_0.txt)

import common ;

project boost/atomic
    : requirements
      <threading>multi
      <link>shared:<define>BOOST_ATOMIC_DYN_LINK=1
      <link>static:<define>BOOST_ATOMIC_STATIC_LINK=1
      <define>BOOST_ATOMIC_SOURCE
      <target-os>windows:<define>BOOST_USE_WINDOWS_H
      <target-os>windows:<define>_WIN32_WINNT=0x0500
      <toolset>gcc,<target-os>windows:<linkflags>"-lkernel32"
    : usage-requirements
      <link>shared:<define>BOOST_ATOMIC_DYN_LINK=1
      <link>static:<define>BOOST_ATOMIC_STATIC_LINK=1
    : source-location ../src
    ;

alias atomic_sources
   : lock_pool.cpp
   ;

explicit atomic_sources ;


lib boost_atomic
   : atomic_sources
   ;

boost-install boost_atomic ;