Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-11 18:55:41

I don't understand what's going on here, even with the comment:

# Each element should have the form
# type["(" name-pattern ")"]
# for example, obj(%_x). Name of generated target will be found
# by replacing % with the name of source, provided explicit name
# was not specified.

for local e in $(target-types-and-names)
local m = [ MATCH ([^\\(]*)(\\((.*)%(.*)\\))? : $(e) ] ; += $(m[1]) ;$(m[1]) = $(m[3]) $(m[4]) ;

What if there are multiple sources? Is the purpose of this to allow
make-style rules which do %.o <- %.c ? If so, why doesn't the comment
say "obj(%.o)"?

David Abrahams
dave_at_[hidden] *
Boost support, enhancements, training, and commercial distribution

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