On 11/22/2011 07:37 PM, David Faure wrote:
On Tuesday 22 November 2011 14:33:25 Stephen Kelly wrote:
I think in many cases,
fixing KDE will just be removing the explicit include "foo.moc" which is
intended to run moc on foo.h, and let the automatic moc'ing do the work.
No, to include moc_foo.cpp instead, if that's what cmake automoc would
generate.
If you don't include any moc, then the moc is compiled separately, which leads
to slower compilation.
Are you sure? I think all moc files of a target which are not included
elsewhere are included in a _automoc.cpp file, which is then built as
the automoc target. See ${kdeui_BUILD_DIR}/kdeui_automoc.cpp for example.
There should be no slowdown AFAICT.
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers