Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-02-23 15:56:32


I made some time to work on the modifier ideas I had. The basic approach is
one borrowed from V1 in which there are modifiers to mutate the generation
of targets, files, etc.

I thought I'd post some of the code I have so far, to get some feedback and
to request help. I'm currently stuck because of a current limitation of BB2.
The way the current code works it wraps some basic target types (EXE only
for now) with a generic generator that mutates the target. Unfortunately
this produces multiple possible transformations for a single target, which
causes an error...

/home/grafik/CVSROOTs/Boost/boost/tools/build/examples-v2/../new/generators.jam:811:
in select-dependency-graph from module generators
error: 2 possible generations for Can't handle this now.

Attached is the code in question. Uncompress while at the BOOST_ROOT.

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq --35853775-2675965952-3255000994=:9000 Content-Type: application/x-gzip; Name="boost_root_modifier_sample.tgz"; X-Mac-Type="477A6970"; X-Mac-Creator="53495478"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; Filename="boost_root_modifier_sample.tgz"

[Attachment content not displayed.] --35853775-2675965952-3255000994=:9000--


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