|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-02-24 06:14:37
jim_at_[hidden] wrote:
>
> (I have a nasty feeling I'm missing some obvious doco that covers this.
> Apologies if so - I have spent some time digging.)
>
> I'm trying to build an executable out of two source files.
>
> One is an ASN1 specification, grammar.asn1. This is processed by snacc
> to grammar.h and grammar.c.
>
> The other is a plain C source, agen.c, which #includes grammar.h.
>
> I have a snacc generator creating grammar.[hc] into the build directory.
> But I can't see how to tell bbv2 that (a) grammar.asn1 must be processed
> before trying to compile agen.c, and (b) when compiling agen.c the build
> directory must be on the include path.
This is supposed to happen automatically, as long as your generator has 'H'
amoung target types. If something does not work, send me a testcase and
I'll have a look.
- Volodya
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