Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-09-21 00:51:53


On Tuesday 20 September 2005 23:26, Andrey Melnikov wrote:
> David Abrahams wrote:
> > Vladimir Prus <ghost_at_[hidden]> writes:
> >>I think it would be good to add a target that just runs some command,
> >> without creating any files. When such target is built, the command is
> >> just run, and no up-to-date checks are made for any files.
> >
> > Your phraseology is a little confusing, because bjam does all its
> > up-to-date checks before deciding to build anything. But anyway, I'll
> > ask:
> >
> > Not even for files that the target may depend on? That seems like a
> > needless and restrictive limitation. It seems like it would be more
> > useful if the target were only built when its dependencies (if any)
> > were outdated.
>
> For me the desired behaviour is the following. The files the target
> depends on should be built if they are outdated. The target itself will
> be built (executed) unconditionally, even if the dependencies are up to
> date.

That's exactly what happens.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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