Skip to content

Commit f4034fe

Browse files
authored
Merge pull request #73 from grafikrobot/modular
Add support for modular build structure.
2 parents aff38b5 + 2b338aa commit f4034fe

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

build.jam

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
project /boost/leaf
9+
;
10+
11+
explicit
12+
[ alias boost_leaf : : : : <include>include ]
13+
[ alias all : boost_leaf test ]
14+
;
15+
16+
call-if : boost-library leaf
17+
;

test/Jamfile.v2

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ project
2222
<cxxstd>11
2323
<threading>multi
2424
: requirements
25+
<library>/boost/config//boost_config
26+
<use>/boost/exception//boost_exception
2527
<define>BOOST_LEAF_BOOST_AVAILABLE
2628
<target-os>windows:<define>_CRT_SECURE_NO_WARNINGS
2729
<threading>single:<define>BOOST_LEAF_NO_THREADS
2830
<toolset>gcc:<cxxflags>"-Wno-delete-non-virtual-dtor -Wno-parentheses"
2931
<toolset>clang:<cxxflags>"-Wno-unused-variable -Wno-delete-non-virtual-dtor -Wno-non-virtual-dtor -Wno-dangling-else"
3032
<toolset>darwin:<cxxflags>"-Wno-unused-variable -Wno-delete-non-virtual-dtor -Wno-non-virtual-dtor -Wno-delete-non-abstract-non-virtual-dtor -Wno-dangling-else"
3133
<toolset>msvc:<cxxflags>"-wd 4267 -wd 4996 -wd 4244"
32-
<include>../../..
3334
;
3435

3536
compile _hpp_common_test.cpp ;

0 commit comments

Comments
 (0)