CMake dependency scanning for .moc files

Andreas Pakulat apaku at gmx.de
Mon Apr 14 22:34:38 CEST 2008


Hi,

so today I found that there are actually problems with cmake 2.6 and
dependency scanning.

a) after changing an installed header the .moc files for headers that
include the updated header are not re-generated which might cause
problems when you do ABI changes (like removing a method) on the
installed header (linking errors)

b) removing a .moc file from the builddir doesn't produce a re-moc,
cmake just tells gcc to compile the non-existing .moc-file.

I'm actually not sure wether either of the two ever worked, but IMHO  at
least the second one should work.

This is was tested on CMake 2.6 and 2.4.7.

Andreas

-- 
Increased knowledge will help you now.  Have mate's phone bugged.


More information about the Kde-buildsystem mailing list