Boost logo

Boost-Build :

From: John Reid (j.reid_at_[hidden])
Date: 2007-05-11 10:22:35


Vladimir Prus wrote:
> Precisely. If lexer.gl 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.
>
Ok. What is the easiest way to specify this feature for each source file?

Can I do something like what is described in "How to change compilation
flags for one file?"
http://boost.sourceforge.net/boost-build2/doc/html/bbv2/faq/s08.html?

Or is it easy to create a target that I can set the feature on?

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