Help Rewriting kdepim/akonadi/agents/nie/CMakeLists.txt

Allen Winter winter at kde.org
Thu Jul 24 23:45:57 CEST 2008


On Wednesday 23 July 2008 18:25:47 Alexander Neundorf wrote:
> On Thursday 24 July 2008, Allen Winter wrote:
> > On Wednesday 23 July 2008 18:00:41 Brad King wrote:
> ...
> > > You cannot have something that runs at build time generate a list of
> > > files to be used during the same build.  All the build rules have to be
> > > generated ahead of time.
> >
> > Right, that's exactly what I'm experiencing.
> >
> > > You can run nepomuk-rcgen during the cmake configuration step with
> > > execute_process, but that will run every time and not have dependencies.
> >
> > That's the current situation and what I'm trying to change.
> ...
> 
> Can you create a file which includes all created files and compile only that 
> one ? This might make it easier.
> 
That's a great idea.  I want to try that.
Do we have a CMake macro or function that can cat together a list of files?
(or a hint on the best way to go about writing one myself?)


More information about the Kde-buildsystem mailing list