Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2006-12-21 21:04:20


david x callaway wrote:

> anyway, my first question would be does the rule already exist in m11,
> or do I need to add the code below or something similar to make it work?
> it would be nice if I could just do
>
> rm-on-clean : *~ *.whatever file1.txt etc.txt ;

AFAICT you can, since M<9, do:

===
import common ;
common.Clean : /some-native-paths/ ;
===

Unfortunately you'd have to deal with generating those native paths to
feed to that "Clean" action as I don't see a clean rule that does the
usual platform independent path handling.

Volodya, is there something I'm missing?

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

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