|
Boost-Build : |
Subject: Re: [Boost-build] Compiling dozens of files called main.cpp
From: Boris Schaeling (boris_at_[hidden])
Date: 2010-01-19 09:02:32
On Tue, 19 Jan 2010 08:50:10 +0100, Johan Nilsson
<r.johan.nilsson_at_[hidden]> wrote:
> [...]import testing ;
> import numbers ;
>
> local mains = [ glob-tree main.cpp ] ;
> local n = 1 ;
>
> for local m in $(mains)
> {
> compile $(m) : : main.test$(n) ;
> n = [ numbers.increment $(n) ] ;
> }
Thanks, works perfectly!
Boris
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk