Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/tools/build/v2/test/echo_args.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: 379 bytes
Line 
1rule echo_args ( a b ? c ? : d + : e * )
2{
3    ECHO a= $(a) b= $(b) c= $(c) ":" d= $(d) ":" e= $(e) ;
4}
5
6rule echo_varargs ( a b ? c ? : d + : e * : * )
7{
8    ECHO a= $(a) b= $(b) c= $(c) ":" d= $(d) ":" e= $(e)
9      ": rest= "$(4[1]) $(4[2])
10      ": "$(5[1]) $(5[2])
11      ": "$(6[1]) $(6[2])
12      ": "$(7[1]) $(7[2])
13      ": "$(8[1]) $(8[2])
14      ": "$(9[1]) $(9[2]) ;
15}
16
Note: See TracBrowser for help on using the repository browser.