Skip to content

Commit e508ed8

Browse files
committed
Add modular install targets.
1 parent d85975d commit e508ed8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.jam

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ if [ project.is-jamroot-module $(__name__) ]
3737
explicit
3838
[ alias boost_predef ]
3939
[ alias all : boost_predef test//all tools/check ]
40+
[ install install-global-headers
41+
: [ glob-tree-ex include : *.h ]
42+
: <install-source-root>include <location>(includedir) ]
43+
[ install install-data
44+
: build.jam [ glob-tree-ex tools/check : * ] [ glob-tree-ex include : *.h ]
45+
: <install-source-root>. <location>(datadir)/boost_predef ]
46+
[ alias install :
47+
install-global-headers install-data ]
4048
;
4149

4250
call-if

0 commit comments

Comments
 (0)