[CMake] FILE command working

Johny Johny.Jose at cern.ch
Fri Jul 9 05:24:03 EDT 2010


Hi,

I was working with the FILE(STRINGS filename lineList) and i discovered 
that i end up getting a list which has a lesser number of strings than 
the actual lines in the file. However this happens with only some files, 
i went through those but they seem to be regular files. When i count the 
no of new lines in the files i get the correct no of lines for the file.

This has led me to believe that the FILE strings command is at fault 
somehow. How does it work?

Cheers!
Johny



More information about the CMake mailing list