Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-05-11 10:07:42

John Reid wrote:

> Vladimir Prus wrote:
>> Does your generator takes .gl files as input, or as output?
> I may have misunderstood but I think these lines register the generator
> to take gp and gl as input?
> generators.register [ new antlr-generator antlr.parser : GP : CPP HPP ] ;
> generators.register [ new antlr-generator antlr.lexer : GL : CPP HPP ] ;

As, here GP and GL are inputs, so looks fine to me.

>> If it takes them as input, this behaviour is expected:
>> builds adding the specified property to build request.
>> If this is just file, then any properties in build request have
>> no effect.
> What do you mean "if this is just file" : you mean if is just a
> file? By no effect you mean that the <antlr-name>SimpleLexer property is
> not passed on?

Precisely. If was a target, it would be built with <antlr-name>SimpleLexer.
Since it's just a file, there's nothing to build, and therefore <antlr-name>SimpleLexer is
not used.

- Volodya

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