2
0
mirror of https://github.com/boostorg/units.git synced 2026-01-19 04:42:15 +00:00
Files
units/build.jam
René Ferdinand Rivera Morell 605ebf7143 Add support for modular build structure. (#63)
* Make the library modular usable.

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

* 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.

* Adjust doc build to avoid boost-root references.

* Update build deps.

* Change math dep real target math/tr1.

* Move include to target.
2025-05-02 19:24:25 +03:00

35 lines
918 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 :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/core//boost_core
/boost/integer//boost_integer
/boost/io//boost_io
/boost/lambda//boost_lambda
/boost/math//boost_math_tr1
/boost/move//boost_move
/boost/mpl//boost_mpl
/boost/preprocessor//boost_preprocessor
/boost/static_assert//boost_static_assert
/boost/type_traits//boost_type_traits
/boost/typeof//boost_typeof ;
project /boost/units
;
explicit
[ alias boost_units : : :
: <include>include <library>$(boost_dependencies) ]
[ alias all : boost_units example test test_headers ]
;
call-if : boost-library units
;