2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-19 16:52:11 +00:00
Files
test/build.jam
René Ferdinand Rivera Morell a5e435df96 Add support for modular build structure. (#426)
* Make the library modular usable.

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

* Remove uses of BOOST_ROOT in Jamfiles.

* Add missing NO_LIB usage requirements.

* Add missing import-search for cconfig/predef checks.

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

* Bump B2 require to 5.2

* Change all <source> references to <library>.

* Update copyright dates.

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

* Add included target to mirror build//* targets.

* Add missing import-search.

* Change Boost Test build refs to work with both old and modular test lib targets.

* Update build deps.

* Update UBSAN CI run

---------

Co-authored-by: Matt Borland <matt@mattborland.com>
2025-04-07 10:21:41 -04:00

61 lines
2.2 KiB
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/algorithm//boost_algorithm
/boost/assert//boost_assert
/boost/bind//boost_bind
/boost/config//boost_config
/boost/core//boost_core
/boost/detail//boost_detail
/boost/exception//boost_exception
/boost/function//boost_function
/boost/io//boost_io
/boost/iterator//boost_iterator
/boost/mpl//boost_mpl
/boost/numeric_conversion//boost_numeric_conversion
/boost/optional//boost_optional
/boost/preprocessor//boost_preprocessor
/boost/smart_ptr//boost_smart_ptr
/boost/static_assert//boost_static_assert
/boost/type_traits//boost_type_traits
/boost/utility//boost_utility ;
project /boost/test
: common-requirements
<include>include
;
explicit
[ alias boost_test : : : : <library>$(boost_dependencies) ]
[ alias boost_prg_exec_monitor : build//boost_prg_exec_monitor ]
[ alias boost_test_exec_monitor : build//boost_test_exec_monitor ]
[ alias boost_unit_test_framework : build//boost_unit_test_framework ]
[ alias prg_exec_monitor : boost_prg_exec_monitor ]
[ alias test_exec_monitor : boost_test_exec_monitor ]
[ alias unit_test_framework : boost_unit_test_framework ]
[ alias boost_included_prg_exec_monitor : : : : <library>$(boost_dependencies) ]
[ alias boost_included_test_exec_monitor : : : : <library>$(boost_dependencies) ]
[ alias boost_included_unit_test_framework : : : : <library>$(boost_dependencies) ]
[ alias included : : : : <library>$(boost_dependencies) ]
[ alias included_prg_exec_monitor : boost_included_prg_exec_monitor ]
[ alias included_test_exec_monitor : boost_included_test_exec_monitor ]
[ alias included_unit_test_framework : boost_included_unit_test_framework ]
[ alias all : example test
boost_prg_exec_monitor
boost_test_exec_monitor
boost_unit_test_framework ]
;
call-if : boost-library test
: install
boost_prg_exec_monitor
boost_test_exec_monitor
boost_unit_test_framework
;