kdepim/akonadi/agents/nepomuk_contact_feeder/CMakeLists.txt

Allen Winter winter at kde.org
Thu Apr 17 00:24:11 CEST 2008


On Wednesday 16 April 2008 16:52:00 Alexander Neundorf wrote:
> On Wednesday 16 April 2008, Allen Winter wrote:
> > Howdy,
> >
> > Can someone who knows CMake much better than myself please take
> > a look at kdepim/akonadi/agents/nepomuk_contact_feeder/CMakeLists.txt?
> >
> > This CMake code has no dependencies and uses execute_process()
> > so that all the commands are re-run each time one builds kdepim.
> >
> > I think it really should use add_custom_command() instead, but that
> > doesn't support RESULT_VARIABLE or ERROR_QUIET.. so I'm stumped.
> >
> > Alex maybe? pretty please?
> > -Allen
>
> Why can that fail, or, why is
> kde4_add_executable(akonadi_nepomuk_contact_feeder) inside an
> if(NEPOMUK_RESOURCES_GENERATED) ?
>
> Is this optional ?
>
I have no idea.  I didn't write it.
What's irritating is that the files are regenerated each build,
and that causes unnecessary recompiles.  We need to add
in some dependencies.


More information about the Kde-buildsystem mailing list