[jamming] generated header
holtdl at yahoo.com
Fri Nov 19 12:26:39 PST 2004
I get regular Jam to do the right things with generated headers -- just
make sure that a) the header target matches what appears in the #include,
and b) you change HdrRule to not hang a NoCare on it. I have several types
of generated headers in my build -- some come from IDL files, some are
just file copies of headers that need to be in the build tree, some are
generated by special in-house tools -- and they all get handled correctly.
--- Vladimir Prus <ghost at cs.msu.su> wrote:
> On Thursday 18 November 2004 07:29, Anuj Goyal wrote:
> > I have about 30 dll/exe, for the sake of argument let's call them
> > letters of the alphabet
> > and one special folder (C) full of xml files
> > dll A
> > exe B
> > xmlfiles C
> > dll D
> > dll E
> > ...
> > dll Y
> > dll Z
> > (btw: dll D depends on A, ddl E depends on D,
> > ddl F depends on D, dll G depends on F, and so on)
> > exe B needs to link with dll A to run (easy enough i use
> > LibraryFromObjects) exe B takes as an argument an XML file in folder C
> > (already containing a jamfile)
> > and produces a header ERROR.h, that all other DLLs need to use.
> > I have no trouble producing the header file through a builtin rule.
> > The problem I have is making the header I have a produced a
> > dependency of all the sources files in the rest of the projects.
> > Can anyone provide some design hints?
> is the header file included by C++ files in those DLLs?
> I haven't found the way to do it using basic jam, so eventually
> special support in boost.jam.
> Some notes on that can be found at:
> I'm not sure how would that help with classic jam, though.
> - Volodya
> jamming mailing list - jamming at perforce.com
(holtdl at yahoo.com)
More information about the jamming