|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-03-18 12:10:15
Roland Schwarz wrote:
> I am trying to introduce a code generator into my build chain,
> but I have no idea how to make it work. The "mygenerator"
> makes a *.hpp file from a *.psp file.
> I can understand that the make rule will put the target into
> a variant directory. But how shall I
> 1) tell the lib rule that it depends on the implicit generated.hpp
> which is included by mysource.cpp and trigger an update?
> (<dependecy> as shown does not work)
"does not work" give me no information.
> 2) Tell the lib rule to add an include path to the variant
> directory where the generated.hpp has been put
Have you read the docs, where it talks about dependencies on
generated headers?
- 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