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

Andreas Pakulat apaku at gmx.de
Wed Jul 23 23:23:43 CEST 2008


On 23.07.08 16:14:30, Allen Winter wrote:
> I need help from the CMake Gurus.
> 
> Attached is my attempt at rewriting kdepim/akonadi/agents/nie/CMakeLists.txt.
> 
> The problem is:  the nepomuk-rcgen program creates a file that contains a list
> of source files to compile into the nie library.
> 
> So you'll notice that I read the contents of the file into a variable and attempt
> to use that in kde4_add_library().  But CMake complains that the input files
> don't exist. 

Just out of curiosity: Why is execute_process used and not
add_custom_command? And why is it a separate cmake script and not
integrated as macro?

Andreas

-- 
Your boyfriend takes chocolate from strangers.


More information about the Kde-buildsystem mailing list