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
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem