2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-19 16:52:11 +00:00
Files
test/tools/console_test_runner/Jamfile.v2
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

39 lines
916 B
Plaintext

# (C) Copyright Gennadiy Rozental 2008-2014.
# Use, modification, and distribution are subject to 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)
#
# See http://www.boost.org/libs/test for the library home page.
# Project
project libs/test/tools/console_test_runner ;
alias unit_test_framework
: # sources
/boost/test//boost_unit_test_framework
;
alias test_runner_src
: # sources
src/console_test_runner.cpp
unit_test_framework
;
# make aliases explicit so the libraries will only be built when requested
explicit unit_test_framework ;
explicit test_runner_src ;
lib dl ;
lib test_runner_test : test/test_runner_test.cpp unit_test_framework ;
exe console_test_runner
: test_runner_src
dl
;
exe console_test_runner
: test_runner_src
: <target-os>windows
;