Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-08 10:30:48


Hi!
I've comitted a change to the way --clean option works. Previously, it would
clean all targets Boost.Build knows about -- including changes under
different Jamroots, which was pretty confusing.

Now:

1.
     bjam --clean

removes only targets from the current Jamfile and its direct and indirect
children. Targets having different Jamroot, and targets in parent Jamfiles
are not removed.

2. bjam --clean some_dir

removes only targets from some_dir/Jamfile and its direct and indirect
children. If there are two subdirs: sub1 and sub2, and sub1 referes to
targets in sub2, and you run:

   bjam --clean sub1

the targets in sub2 are *not* removed.

The new --clean-all option has the old behaviour: cleaning absolutely
everything.

I know some people were interested in such change. Comments appreciated!

- 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