2011/7/28 Ali Ghayoor <[email protected]>:
> 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?

cmake -E compare_files file1 file2

- check if file1 is same as file2


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
cmake-developers mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to