Skip to content

Commit 415c12b

Browse files
grisumbrasjll63
authored andcommitted
fix jamfiles
1 parent 1dc460b commit 415c12b

2 files changed

Lines changed: 39 additions & 19 deletions

File tree

build.jam

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright 2025 Dmitry Arkhipov (grisumbras@yandex.ru)
2+
# Distributed under the Boost Software License, Version 1.0.
3+
# https://www.boost.org/LICENSE_1_0.txt
4+
5+
require-b2 5.2 ;
6+
7+
constant boost_dependencies
8+
: /boost/assert//boost_assert
9+
/boost/config//boost_config
10+
/boost/core//boost_core
11+
/boost/dynamic_bitset//boost_dynamic_bitset
12+
/boost/mp11//boost_mp11
13+
/boost/preprocessor//boost_preprocessor
14+
;
15+
16+
project /boost/open_method ;
17+
18+
alias boost_open_method
19+
: usage-requirements
20+
<include>include
21+
<library>$(boost_dependencies)
22+
;
23+
alias all : boost_open_method test ;
24+
explicit all ;
25+
26+
call-if : boost-library open_method ;

test/Jamfile

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,31 @@
66
# See accompanying file LICENSE_1_0.txt or copy at
77
# http://www.boost.org/LICENSE_1_0.txt
88

9+
import-search /boost/config/checks ;
10+
911
import testing ;
10-
import ../../config/checks/config : requires ;
12+
import config : requires ;
1113

1214
project
1315
: requirements
1416

1517
[ requires cxx11_variadic_templates cxx11_template_aliases cxx11_decltype cxx11_hdr_tuple ]
1618

19+
<library>/boost/open_method//boost_open_method
20+
1721
<warnings>extra
1822

19-
<toolset>msvc:<warnings-as-errors>on
20-
<toolset>gcc:<warnings-as-errors>on
21-
<toolset>clang:<warnings-as-errors>on
23+
# <toolset>msvc:<warnings-as-errors>on
24+
# <toolset>gcc:<warnings-as-errors>on
25+
# <toolset>clang:<warnings-as-errors>on
2226
;
2327

2428
# list
25-
run test_blackbox.cpp ;
26-
run test_compiler.cpp ;
27-
run test_core.cpp ;
28-
run test_custom_rtti.cpp ;
29-
run test_member_method.cpp ;
30-
run test_namespaces.cpp ;
31-
run test_pointer_to_method.cpp ;
32-
run test_rolex.cpp ;
33-
run test_static_list.cpp ;
34-
run test_virtual_ptr_all.cpp ;
35-
run test_virtual_ptr_basic.cpp ;
36-
run test_virtual_ptr_value_semantics.cpp ;
37-
run test_shared_virtual_ptr_value_semantics.cpp ;
38-
run test_unique_virtual_ptr_value_semantics.cpp ;
29+
for local src in [ glob test_*.cpp ]
30+
{
31+
run $(src) ;
32+
}
3933

4034
# quick (for CI)
41-
alias quick : blackbox ;
35+
alias quick : test_blackbox ;
4236
explicit quick ;

0 commit comments

Comments
 (0)