cmake 2.4.* does not create moc files in kdepimlibs

Alexander Neundorf neundorf at kde.org
Fri Aug 11 22:37:31 CEST 2006


On Friday 11 August 2006 22:23, Friedrich W. H. Kossebau wrote:
> Hi Alex,
...
> and run cmake:
> ---8< ---
> --
> file:
> /home/koder/Programmieren/kdesvn/trunk/KDE/kdepimlibs/emailfunctions/email.
>cpp skip: NOTFOUND
> --
> file:
> /home/koder/Programmieren/kdesvn/trunk/KDE/kdepimlibs/kxmlrpcclient/server.
>cpp skip: NOTFOUND
> --
> file:
> /home/koder/Programmieren/kdesvn/trunk/KDE/kdepimlibs/kxmlrpcclient/query.c
>pp skip: NOTFOUND
> ---8< ---
> and so on...
>
> But with e.g. kdeutils I get
> ---8< ---
> -- file: /home/koder/Programmieren/kdesvn/trunk/KDE/kdeutils/ark/main.cpp
> skip: NOTFOUND
> -- if condition meet.
> -- file: /home/koder/Programmieren/kdesvn/trunk/KDE/kdeutils/ark/arkapp.cpp
> skip: NOTFOUND
> -- if condition meet.

Now this is really strange.
Do you have symlinks in the path maybe ?

Can you please try this:


  message(STATUS "file: ${_abs_FILE} skip: ${_skip}")

  if (EXISTS ${_abs_FILE} )
     message(STATUS "file exists")
  endif (EXISTS ${_abs_FILE})

  if (NOT _skip)
     message(STATUS "not skip")
  endif (NOT _skip)

  if (EXISTS ${_abs_FILE} AND NOT _skip)
  message(STATUS "if condition meet.")


Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list