Boost logo

Boost-Build :

From: Daniel Einspanjer (deinspanjer_at_[hidden])
Date: 2006-02-13 12:28:33

"Vladimir Prus" <ghost_at_[hidden]> wrote in message
> Not extra nice, and not better than what you've proposed, but that's how I
> did
> it before. Maybe, we just need '' helper
> rule,
> so that above can be rewritten as:
> rule generated-targets ( sources + : property-set : project name ? )
> {
> return [ generator.generated-targets
> [ XML : $(sources) ]
> [ XSLT : $(sources) ]
> : $(property-set) : $(project) $(name) ] ;
> }
> Mark, Daniel, what do you think?

The helper rule sounds useful in this case. Do you think there would be
enough other problems solved by similar logic to make it worthwhile?

I am also wondering about extended scenarios similar to my presented
situation. For instance, what would a user do if they wanted to be able to
specify an arbitrary number of xml and/or xsl files? I would envision that
being something the user might wish to do if they wanted to give a list of
xml files that should all be run through all given xsl files making a
Cartesian product.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at