2
0
mirror of https://github.com/boostorg/units.git synced 2026-01-19 04:42:15 +00:00
Files
units/example/Jamfile.v2
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

28 lines
623 B
Plaintext

# Jamfile.v2
#
# Copyright (c) 2007-2008
# Steven Watanabe
#
# 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 testing ;
project :
: requirements <warnings>all
<library>/boost/units//boost_units
;
files = [ glob *.cpp : performance.* runtime_unit.* ] ;
for local file in $(files)
{
run $(file) ;
}
path-constant HERE : . ;
compile performance.cpp /boost/timer//boost_timer /boost/ublas//boost_ublas : <define>BOOST_TIMER_ENABLE_DEPRECATED ;
run runtime_unit.cpp : <$(HERE)/runtime_unit_input.txt ;