|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-06-19 03:58:50
On Wednesday 14 June 2006 18:08, Ilya Sokolov wrote:
> > That is 'exe app : app.cpp parser.y ;'.
> > From parser.y the tool creates parser.h and then app is built using
> > app.cpp and parser.h.
>
> oh, sorry for my prev post.
>
> i found this in qt4.jam:
>
> # Since this generator will return H target, the linking generator
> # won't use it at all, and won't set any dependency on it.
>
> now i see next alternatives:
> - implement xpidl like generators in qt4 (it's not easy)
I'm now inclined to think this is a design problem. If a generator produces
just H target, and it's used as part of building a main target, we should be
able to detect dependency on that H target.
I've filed an issue:
https://zigzag.cs.msu.su:7813/boost.build/ticket/93
but unfortunately I might not be able to address it at least until July 1. It
might be reasonable to use the same trick as qt4.jam uses in the meantime.
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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