summaryrefslogtreecommitdiff
path: root/tools/build/v2/test/dependency-test/jamfile.jam
blob: 590d0865ca257e4bc79ef7f76ef461515f7a3242 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
    ;