[cmake-developers] Cross platform test for comparing two text files

Ali Ghayoor alii.ghayoor at gmail.com
Thu Jul 28 12:34:04 EDT 2011


Hello All,

I use cmake 2.8.5, and I want to make a test by the cmake which compares an
output text file with a baseline file. We use the "diff" command at the
Linux to compare two text files, but it will not work at Windows operating
systems.

Does anyone know about the best cross platform way to compare two text files
by the cmake?

Best regards,
Ali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20110728/26255069/attachment.html>


More information about the cmake-developers mailing list