Code generation happens twice

Ian Monroe ian at monroe.nu
Tue Jul 15 16:44:34 CEST 2008


On Mon, Jul 14, 2008 at 10:09 AM, Ian Monroe <ian at monroe.nu> wrote:
> So we're porting the QtScript Bindings from QMake to CMake.
>
> So what should happen: the code generator is built, the generator is
> run, and then several modules are built from the code (currently I've
> only implemented one module building). However for some reason the
> code generation is run twice: once for the target 'generator' and once
> for the module. The generation takes a while, so this is bad :).  It
> doesn't make sense looking at the cmake code and its all based on
> stuff from the CMake FAQ anyways.

Never figured out what the problem was. But I found another way to do it.

Ian


More information about the Kde-buildsystem mailing list