Skip to content

Commit 3ac405e

Browse files
committed
refactored target dependecies
1 parent f4c615d commit 3ac405e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

jamroot.jam

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import path ;
55
project enum-flags ;
66

77

8+
alias enum-flags : usage-requirements <include>include ;
9+
10+
811
package.install headers enum-flags
912
: <install-source-root>include
1013
:

test/build.jam

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ import testing ;
44
project flags_tests
55
: requirements <warnings>all
66
<warnings-as-errors>on
7-
<include>../include/
87
: default-build <variant>release
98
;
109

1110

1211
unit-test main-test
1312
: main-test.cpp
13+
/enum-flags//enum-flags
1414
/boost_config//libs
1515
/boost_core//libs
1616
/boost_assert//libs
1717
;
1818

1919

20-
compile should-compile.cpp ;
20+
compile should-compile.cpp /enum-flags//enum-flags ;
2121

2222

2323
for src in [ glob shouldnt-compile/*.cpp ] {
24-
compile-fail $(src) ;
24+
compile-fail $(src) /enum-flags//enum-flags ;
2525
}

0 commit comments

Comments
 (0)