Boost logo

Boost-Build :

From: John Reid (j.reid_at_[hidden])
Date: 2007-05-11 07:47:11


The documentation:
http://boost.org/boost-build2/doc/html/bbv2/reference/definitions.html#bbv2.reference.ids

suggests the following:

"
Target reference is used to specify a source target, and may
additionally specify desired properties for that target. It has this syntax:

target-reference -> target-id [ "/" requested-properties ]
requested-properties -> property-path

For example,

           exe compiler : compiler.cpp libs/cmdline/<optimization>space ;
"

but when I define my own free feature <antlr-name> and my own generator
for .gl files the feature is not set. e.g.

lib antlr_lib : lexer.gl/<antlr-name>SimpleLexer ;

does not set the feature in the property set that is passed to the
generator but if I do

lib antlr_lib : lexer.gl : <antlr-name>SimpleLexer ;

the feature is set.

Can you tell me what I am missing here?

Thanks,
John.


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