Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/tools/build/v2/test/check-bindrule.jam @ 32

Last change on this file since 32 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 682 bytes
Line 
1# Copyright 2001 Dave Abrahams
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
4
5# This rule establishes a dependency, with no special build actions
6rule do-nothing ( target : source )
7{
8    DEPENDS $(target) : $(source) ;
9}
10actions quietly do-nothing
11{
12}
13
14# Make a non-file target which depends on a file that exists
15NOTFILE fake-target ;
16SEARCH on file-to-bind = subdir1 ;
17
18do-nothing fake-target
19    : file-to-bind ;
20
21# Set jam up to call our bind-rule
22BINDRULE = bind-rule ;
23
24rule bind-rule ( target : path )
25{
26    ECHO found: $(target) at $(path) ;
27}
28
29DEPENDS all : fake-target ;
Note: See TracBrowser for help on using the repository browser.