2
0
mirror of https://github.com/boostorg/atomic.git synced 2026-01-19 04:02:09 +00:00
Files
atomic/build.jam
René Ferdinand Rivera Morell 0ed0a5db0c Add support for modular build structure. (#69)
* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add missing NO_LIB usage requirements.

* Add requires-b2 check to top-level build file.

* Update dependencies.

* Bump B2 require to 5.2

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Split b2 dependencies into public and private.

* Be explicit about the kind of public dependencies and make the winapi be conditional on windows target-os.
2024-10-10 18:31:25 +03:00

25 lines
683 B
Plaintext

# Copyright René Ferdinand Rivera Morell 2023-2024
# 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)
require-b2 5.2 ;
constant boost_dependencies :
<library>/boost/assert//boost_assert
<library>/boost/config//boost_config
<library>/boost/predef//boost_predef
<library>/boost/type_traits//boost_type_traits
<target-os>windows:<library>/boost/winapi//boost_winapi ;
project /boost/atomic ;
explicit
[ alias boost_atomic : build//boost_atomic ]
[ alias all : boost_atomic test ]
;
call-if : boost-library atomic
: install boost_atomic
;