[cmake-developers] [PATCH] add FILE_IS_NEWER to IF()

Alexander Neundorf neundorf at kde.org
Fri Aug 25 16:07:52 EDT 2006


Hi,

the attached patch adds
IF (FILE_IS_NEWER file1 file2)
which returns true if file1 is newer than file2 or if one of the two files 
doesn't exist.

I think I will need this for instance to for optimizing KDE4_AUTOMOC.

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FILE_IS_NEWER.patch
Type: text/x-diff
Size: 3074 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20060825/54bfb716/attachment.patch>


More information about the cmake-developers mailing list