change in automoc

Alexander Neundorf neundorf at kde.org
Wed Jul 4 22:10:17 BST 2007


Hi,

today Matthias Kretz committed a major change to the automoc handling in KDEs 
cmake files.
Now automoc is handled during build time, not at cmake time anymore.
http://websvn.kde.org/?view=rev&revision=683192

This means that you can now add #include "foo.moc" to a cpp file and the 
buildsystem will detect this without having to rerun cmake (or touching a 
cmake file).
This also means that KDE4_AUTOMOC() is now empty, it doesn't do anything 
anymore. For compatibility it is still there to keep things working.

If you experience any problems, please let us know.

Alex




More information about the kde-core-devel mailing list