mirror of
https://github.com/boostorg/build.git
synced 2026-02-09 23:12:23 +00:00
26 lines
606 B
Plaintext
26 lines
606 B
Plaintext
# 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
|
|
;
|