2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 12:22:17 +00:00
Files
build/test/dependency-test/Jamfile
Vladimir Prus 2adc4a8664 Made 'include' adjustment for generated headers work when other
targets are specified as sources, not only as dependency properties.

    * new/virtual-target.jam (subvariant-dg): Note which sources
    are roots of dependency grapgs and record those graphs.


[SVN r16095]
2002-11-04 17:24:41 +00:00

34 lines
570 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 <dependency>, it won't find "x.h", which is part
# of "a"'s dependency graph.
exe c
: c.cpp
: <define>FOO <dependency>a
;
# Try the same as above, only when other target is specified
# not as dependency, but as source
lib d
: y.foo
;
exe e
: e.cpp d
: <define>FOO
;