Boost logo

Boost-Build :

From: jim_at_[hidden]
Date: 2005-02-24 05:33:40


(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.

I'm using m10, BTW.

Thanks for any advice.

-- 
Jim Hague - jim_at_[hidden] Never trust a computer you can't lift.
 

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