Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-01-08 15:48:13


On Monday 08 January 2007 23:36, Phillip Seaver wrote:
> Vladimir Prus wrote, on 1/8/2007 3:26 PM:
> > On Monday 08 January 2007 23:23, Jaroslav Gresula wrote:
> >
> >> Chris Weed wrote:
> >>
> >>> Doesn't the following do what you want?
> >>> bjam clean TARGET
> >>> bjam TARGET
> >>>
> >>>
> >> Probably yes, but I would prefer single bjam invocation as this use case
> >> is quite frequent for me.
> >>
> >
> > I would expect
> >
> > bjam --clean TARGET
> >
> > to clean everything involved in constructing TARGET, not just the top-level
> > results.
> >
> > - Volodya
> >
>
> "bjam --clean-all TARGET" does that. "--clean" used to, but someone
> added "--clean-all" and changed the behavior of the clean target. (I
> prefer the new behavior)

In fact, if you have

        exe main : main.cpp ;

then

        bjam --clean main

will delete 'main' and 'main.o'. I was under impression that rebuilding just 'main'
was intended.

- Volodya


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