# Boost.Atomic Library Jamfile # # Copyright Helge Bahmann 2011. # Copyright Andrey Semashev 2018, 2020. # # 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 ; import project ; import configure ; lib synchronization ; explicit synchronization ; project boost/atomic : requirements multi shared:BOOST_ATOMIC_DYN_LINK=1 static:BOOST_ATOMIC_STATIC_LINK=1 BOOST_ATOMIC_SOURCE windows:BOOST_USE_WINDOWS_H gcc,windows:"-lkernel32" : usage-requirements shared:BOOST_ATOMIC_DYN_LINK=1 static:BOOST_ATOMIC_STATIC_LINK=1 : source-location ../src ; rule select-platform-specific-sources ( properties * ) { local result ; if windows in $(properties) { result += wait_ops_windows.cpp ; if [ configure.builds ../config//has_synchronization : $(properties) : "has synchronization.lib" ] { result += synchronization ; } } # ECHO Platform sources: $(result) ; return $(result) ; } lib boost_atomic : ## sources ## lock_pool.cpp : ## requirements ## ../src @select-platform-specific-sources ; boost-install boost_atomic ;