how to build generated sources in parallel with out linking them together?

Alexander Neundorf neundorf at kde.org
Wed Feb 21 19:33:30 CET 2007


On Wednesday 21 February 2007 20:18, you wrote:
> Am Mittwoch, 21. Februar 2007 18:41 schrieb Alexander Neundorf:
> > On Wednesday 21 February 2007 15:02, Dirk Mueller wrote:
> > > Hi,
> > >
> > > coolo and I are wondering how to add a custom target, that when
> > > invoked, builds a lot of generated sources (consisting of a couple of
> > > custom compile defines and an include statement) in parallel (up to the
> > > usual make -j parallelism level) and does not link them together
> > > (because linking does not work).
> >
> > What doesn't work ?
> > Shouldn't it be possible to build a library out of them ?
>
> The work "build" here is completely useless - what is "building a library"?
> to me it's linking - and this is exactly what we want to avoid. 

Ok, why ?

> We're only
> interested in the compiling.
>
> BTW: is it possible to INCLUDE() a generated file? 

Generated how ? FILE(WRITE ...), COBNFIGURE_FILE() or by some other tool ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list