Skip to content

Commit ec7df8a

Browse files
grafikrobottzlaine
authored andcommitted
Add support for modular build structure.
1 parent a93a1d2 commit ec7df8a

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

build.jam

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright René Ferdinand Rivera Morell 2025
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/assert//boost_assert
10+
/boost/charconv//boost_charconv
11+
/boost/hana//boost_hana
12+
/boost/type_index//boost_type_index ;
13+
14+
project /boost/parser
15+
;
16+
17+
explicit
18+
[ alias boost_parser : : :
19+
: <library>$(boost_dependencies) <include>include ]
20+
[ alias all : boost_parser test ]
21+
;
22+
23+
call-if : boost-library parser
24+
;

doc/Jamfile.v2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ rule run_doxygen ( files * : name : expand ? )
3939

4040
}
4141

42-
run_doxygen [ glob $(here)/../../../boost/parser/*.hpp : $(here)/../../../boost/parser/concepts.hpp ] : "Headers" ;
42+
run_doxygen [ glob $(here)/../include/boost/parser/*.hpp : $(here)/../include/boost/parser/concepts.hpp ] : "Headers" ;
4343

4444
install images_standalone : [ glob *.png ] : <location>html/parser/img ;
4545
explicit images_standalone ;

test/Jamfile.v2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import testing ;
88

99
project
1010
: requirements <library>/boost/charconv//boost_charconv
11+
<library>/boost/parser//boost_parser
1112
;
1213

1314
compile compile_all_t.cpp ;

0 commit comments

Comments
 (0)