Skip to content

Commit 55eba43

Browse files
authored
Add modular style B2 project file. (#11)
* Add modular build support. * Tweak example to use the modular target.
1 parent c14e487 commit 55eba43

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

README.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,9 @@ befitting the quality of Boost.
66

77
Example of integration into a doc Jamfile:
88
```
9-
path-constant boostlook : ../../../tools/boostlook ;
10-
119
html mp11.html : mp11.adoc
12-
: <asciidoctor-attribute>stylesheet=$(boostlook)/boostlook.css
13-
<flags>"-r $(boostlook)/boostlook.rb"
14-
<dependency>$(boostlook)/boostlook.css
15-
<dependency>$(boostlook)/boostlook.rb
16-
<dependency>mp11-docinfo-footer.html
10+
: <use>/boost/boostlook//boostlook
11+
<dependency>mp11-docinfo-footer.html
1712
;
1813
```
1914

build.jam

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright René Ferdinand Rivera Morell 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/boostlook ;
9+
10+
path-constant here : . ;
11+
12+
alias boostlook
13+
: usage-requirements
14+
<asciidoctor-attribute>stylesheet=$(here)/boostlook.css
15+
<flags>"-r $(here)/boostlook.rb"
16+
<dependency>boostlook.css
17+
<dependency>boostlook.rb
18+
;
19+
explicit boostlook ;
20+
21+
alias all ;
22+
explicit all ;

0 commit comments

Comments
 (0)