cmake -E compare_files <file1> <file2>
Check if file1 is the same as file2. If fails are the same, then returns 0, if not returns 1. In case of invalid arguments, it returns 2
Arguments
Name | Description |
---|---|
file1 | filepaths |
file2 | filepaths |
Options
Name | Description |
---|---|
--ignore-eol | Implies line-wise comparison and ignores LF/CRLF differences |