Skip to content

Commit 9b378ee

Browse files
authored
Merge pull request #28 from grafikrobot/modular
Add support for modular build structure.
2 parents 593ddc7 + eb07947 commit 9b378ee

File tree

2 files changed

+37
-5
lines changed

2 files changed

+37
-5
lines changed

build.jam

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Copyright René Ferdinand Rivera Morell 2023-2024
2+
# Distributed under the Boost Software License, Version 1.0.
3+
# (See accompanying file LICENSE_1_0.txt or copy at
4+
# http://www.boost.org/LICENSE_1_0.txt)
5+
6+
require-b2 5.2 ;
7+
8+
constant boost_dependencies :
9+
/boost/bind//boost_bind
10+
/boost/config//boost_config
11+
/boost/core//boost_core
12+
/boost/detail//boost_detail
13+
/boost/iterator//boost_iterator
14+
/boost/mpl//boost_mpl
15+
/boost/preprocessor//boost_preprocessor
16+
/boost/tuple//boost_tuple
17+
/boost/type_traits//boost_type_traits
18+
/boost/utility//boost_utility ;
19+
20+
project /boost/lambda
21+
;
22+
23+
explicit
24+
[ alias boost_lambda : : :
25+
: <include>include <library>$(boost_dependencies) ]
26+
[ alias all : boost_lambda test ]
27+
;
28+
29+
call-if : boost-library lambda
30+
;

test/Jamfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
# Lambda library
22

3-
# Copyright (C) 2001-2003 Jaakko J�rvi
3+
# Copyright (C) 2001-2003 Jaakko J�rvi
44

5-
# Use, modification and distribution is subject to the Boost Software License,
6-
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7-
# http://www.boost.org/LICENSE_1_0.txt)
5+
# Use, modification and distribution is subject to the Boost Software License,
6+
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7+
# http://www.boost.org/LICENSE_1_0.txt)
88

99
# For more information, see http://www.boost.org/
1010

1111
import testing ;
1212

13+
project : requirements <library>/boost/lambda//boost_lambda ;
14+
1315
run algorithm_test.cpp ;
14-
run bind_tests_advanced.cpp ;
16+
run bind_tests_advanced.cpp : : : <library>/boost/any//boost_any ;
1517
run bind_tests_simple.cpp ;
1618
run bind_tests_simple_f_refs.cpp ;
1719
run bll_and_function.cpp ;

0 commit comments

Comments
 (0)