|
Boost-Build : |
From: Thomas Rolfs (thomas.rolfs_at_[hidden])
Date: 2004-07-12 11:04:02
>It looks like you come with Classic Jam background, no? In V2, user never
has
>to write explicit Depends.
No, this is all new to me.
>> I tried making a generator but it is not suitable for what I want. Even
if
>> the generator could generate two files
>
>It sure can:
>
> generators.register-standard verbatim.inline-file
> : VERBATIM : CPP(%_parser) CPP(%_lexer) ;
>
>> I need the generated files to placed
>> in src/antlr not in the build-dir tree.
>Why is it needed for you? If you place then to build-dir, Boost.Build will
>have no problems picking them up. Even if you really need to place them
>elsewhere, we can arrange this using generators.
I am not distributing the grammar with the library. I used a generator and
hacked the action to copy the generated cpp files back in the source tree
for now.
>To help you get started with generators, I attach a toolset file for Whale,
a
>parser generator that I use. Hope this helps.
Thanks for the help.
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