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

77 lines
2.6 KiB
Plaintext

# Jamfile.v2
#
# Copyright (c) 2007-2009
# 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 ;
warning-options = <warnings>all <warnings-as-errors>on ;
warning-compilers =
<toolset>msvc
;
project :
requirements
<library>/boost/units//boost_units
<toolset>msvc:<asynch-exceptions>on
$(warning-compilers)\:$(warning-options)
# This warning comes from the test library.
<toolset>msvc:<cxxflags>"/wd4701"
# The comes from the exception library
<toolset>msvc,<toolset-msvc:version>7.1:<cxxflags>"/wd4800"
;
compile test_predicates.cpp ;
compile test_negative_denominator.cpp ;
compile test_dimensionless_ice1.cpp ;
compile test_dimensionless_ice2.cpp ;
compile test_mixed_value_types.cpp ;
compile test_complicated_system.cpp ;
compile test_reduce_unit.cpp ;
compile test_unscale.cpp ;
compile test_constants.cpp ;
run test_dimensionless_quantity.cpp ;
run test_implicit_conversion.cpp ;
run test_quantity.cpp ;
run test_unit.cpp ;
run test_conversion.cpp ;
run test_base_dimension.cpp ;
run test_absolute.cpp ;
run test_default_conversion.cpp ;
run test_cmath.cpp /boost/math//boost_math_tr1 ;
run test_limits.cpp /boost/math//boost_math_tr1 ;
run test_custom_unit.cpp ;
run test_scaled_conversion.cpp ;
run test_lambda.cpp /boost/lambda//boost_lambda ;
run test_sqrt_scaled_unit.cpp /boost/math//boost_math_tr1 ;
run test_scaled_unit.cpp ;
run test_output.cpp /boost/regex//boost_regex/<warnings-as-errors>off : : : <test-info>always_show_run_output ;
run test_trig.cpp /boost/math//boost_math_tr1 ;
run test_information_units.cpp /boost/multiprecision//boost_multiprecision ;
compile-fail fail_implicit_conversion.cpp ;
compile-fail fail_quantity_construct.cpp ;
compile-fail fail_quantity_assign.cpp ;
compile-fail fail_quantity_add.cpp ;
compile-fail fail_quantity_subtract.cpp ;
compile-fail fail_quantity_add_assign.cpp ;
compile-fail fail_quantity_sub_assign.cpp ;
compile-fail fail_quantity_scalar_add.cpp ;
compile-fail fail_quantity_scalar_sub.cpp ;
compile-fail fail_quantity_unit_add.cpp ;
compile-fail fail_quantity_unit_subtract.cpp ;
compile-fail fail_scalar_quantity_add.cpp ;
compile-fail fail_scalar_quantity_sub.cpp ;
compile-fail fail_unit_quantity_add.cpp ;
compile-fail fail_unit_quantity_subtract.cpp ;
compile-fail fail_adl_detail.cpp ;
compile-fail fail_heterogeneous_unit.cpp ;
compile-fail fail_base_dimension.cpp ;
compile-fail fail_add_temperature.cpp ;
compile-fail fail_quantity_non_unit.cpp ;