Subject: Re: [Boost-build] How to use generators to CPP and LIB
From: Alexander Sack (pisymbol_at_[hidden])
Date: 2009-01-30 11:12:21
On Fri, Jan 30, 2009 at 10:48 AM, Duncan Rance <gmane_at_[hidden]> wrote:
> Thank you. This is really useful info. My case is slightly different
> though, so I can't quite get the same kind of thing to work.
> Alexander Sack wrote:
>> Duncan, are you trying to do to create a header file that is used to
>> build the lib or does the input file actually create a lib and an h?
> The input file actually creates the H and the LIB.
> Let's say I have a file called root.txt. I've got one generator to
> create resource_enum.h (H) and one to create root.a (LIB). (I've just
> realised that resource_enum.h is not actually needed to create root.a)
> The problem is that the built-in generators know how to get from H ->
> LIB, but I don't want them to try.
> Not sure if this makes much more sense. I hope so :)
Unfortunately I'm not following completely. Can you give a concrete
example of what you want to happen during the build? What do you mean
you don't want them to try....?
> I think I'm going to try a different tack.
Let us know how you make out!
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