summaryrefslogtreecommitdiff
path: root/tools/build/v2/test/generators-test/jamfile.jam
blob: e5d9242d35fca2eeaceb9d3c02b2d5ff0bd349fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 
    # This is needed to supress gcc warning on flex output, which otherwise
    # results in test failure
    : requirements <define>YY_NO_UNPUT
    ;

exe a : a.cpp b.cxx obj_1 obj_2 c.tui d.wd x.l y.x_pro lib//auxilliary ;
# This should not cause second compilation of a.cpp 
exe f : a.cpp b.cxx obj_1 obj_2 lib//auxilliary ;

obj obj_1 : z.cpp : <define>SELECT=1 ;
obj obj_2 : z.cpp : <define>SELECT=2 ;

nm-exe e : e.cpp ;