From: John Reid (j.reid_at_[hidden])
Date: 2007-05-11 11:02:06
Vladimir Prus wrote:
>>Can I do something like what is described in "How to change compilation
>>flags for one file?"
> either the above, but with 'cpp' as the target kind:
> cpp lexer : lexer.gl : : <antlr-name>SimpleLexer ;
> cpp lexer2 : lexer2.gl : : <antlr-name>SimpleLexer2 ;
> should work.
Thanks I had tried that but the extra colon caught me out. Now it works
but I get some warnings like:
warn: Unable to construct ./lexer
Is there any way to get rid of these?
Here is the Jamfile:
cpp lexer : lexer.gl : : <antlr-name>Simple <antlr-base>Base ;
: # sources
: # reqirements
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