diff options
Diffstat (limited to 'tools/build/v2/test/dependency-test/jamfile.jam')
-rw-r--r-- | tools/build/v2/test/dependency-test/jamfile.jam | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/build/v2/test/dependency-test/jamfile.jam b/tools/build/v2/test/dependency-test/jamfile.jam new file mode 100644 index 0000000000..590d0865ca --- /dev/null +++ b/tools/build/v2/test/dependency-test/jamfile.jam @@ -0,0 +1,25 @@ +# Copyright 2002, 2003, 2005 Vladimir Prus +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) + + +project test + : requirements <include>src1 + ; + +exe a + : x.foo a.cpp a_c.c + ; + +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 + ; |