List Info

Thread: Changes in --clean option




Changes in --clean option
user name
2006-02-08 15: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



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )