Skip to content

Commit

Permalink
Change Boost Test build refs to work with both old and modular test l…
Browse files Browse the repository at this point in the history
…ib targets.
  • Loading branch information
grafikrobot committed Aug 9, 2024
1 parent 6e63cd0 commit 47a41e5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tools/console_test_runner/Jamfile.v2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# (C) Copyright Gennadiy Rozental 2008-2014.
# Use, modification, and distribution are subject to the
# Boost Software License, Version 1.0. (See accompanying file
# 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.
Expand All @@ -10,29 +10,29 @@ project libs/test/tools/console_test_runner ;

alias unit_test_framework
: # sources
/boost//unit_test_framework
;
/boost/test//boost_unit_test_framework
;

alias test_runner_src
: # sources
src/console_test_runner.cpp
unit_test_framework
;
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 dl ;

lib test_runner_test : test/test_runner_test.cpp unit_test_framework ;
lib test_runner_test : test/test_runner_test.cpp unit_test_framework ;

exe console_test_runner
exe console_test_runner
: test_runner_src
dl
dl
;

exe console_test_runner
exe console_test_runner
: test_runner_src
: <target-os>windows
;

0 comments on commit 47a41e5

Please sign in to comment.