2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-02 20:52:13 +00:00
Files
build/test/dependency-test/Jamfile
Vladimir Prus a2f68ad42e Implement <implicit-dependency> feature.
* new/virtual-target.jam
  (subvariant-dg.implicit-includes): New method.
  (subvariant-dg.__init__): Check for <implcit-dependency>, not all
  dependency features.

* new/builtin.jam
  (compile-action.adjust-properties): Call 'implicit-includes'.


[SVN r20174]
2003-09-24 06:13:01 +00:00

22 lines
411 B
Plaintext

project test
: requirements <include>src1
;
exe a
: x.foo a.cpp
;
exe b
: b.cpp
;
# Because of <define>, c.cpp will be compiled to different
# directory than everything for main target "a". Therefore
# without <implicit-dependency>, it won't find "x.h", which is part
# of "a"'s dependency graph.
exe c
: c.cpp
: <define>FOO <implicit-dependency>a
;