Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-02-26 09:39:00


Rene Rivera <grafik666_at_[hidden]> writes:

> 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.
>

Somehow I missed the original discussion of this functionality. Is
the point to be able to define features which change the build
properties of the target? Or is it to change other aspects of the
target, like the target filename, which have not been, up till now,
features in the Boost.Build sense?

The only example I saw was the version modifier; do you have any
other use-cases?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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