cmake 2.4.* does not create moc files in kdepimlibs
Friedrich W. H. Kossebau
Friedrich.W.H at kossebau.de
Fri Aug 11 17:00:53 CEST 2006
Hi Bill,
Am Freitag, 11. August 2006 15:05, schrieb William A. Hoffman:
> The dashboard for kdelibs looks good:
Yes, kdebase, kdeutils and kdelibs do fine for me. But kdepimlibs does not.
Brad Hards on irc reported the same problems for kdegraphics.
> http://public.kitware.com/KDE/Testing/Dashboard/20060811-0100-Nightly/Dashb
>oard.html
>
> Mingw is the only platform not building. The error you are getting
> usual comes from generated moc sources not being added to the target
> they are used in (even if they are header files).
With the help of Tobias König I managed to reduce the problem to the following
line in "MACRO (KDE4_AUTOMOC)" in KDE4Macros.cmake:
if (EXISTS ${_abs_FILE} AND NOT _skip)
Usually EXISTS ${_abs_FILE} returns true and _skip is "NOTFOUND", like
debugging with message() tells.
For whatever(!) reason in kdepimlibs the full expression returns false, in
kde{libs,base,utils} returns true for the same values!
We are lost. What is happening here?
Regards
Friedrich
More information about the Kde-buildsystem
mailing list