[CMake] file(SHA1) vs string(SHA1) consistency

Sergey Zakharchenko doublef.mobile at gmail.com
Sat Feb 27 01:57:16 EST 2016


Hello,

2016-02-25 17:58 GMT+03:00 Ruslan Baratov via CMake <cmake at cmake.org>:
> * since CMake is a cross-platform tool I think it make sense that command
> `file(WRITE "..." "a\nb")` produce identical files on all platforms

Seconded; READ and WRITE could at least have a BINARY flag that does
it so that I don't have to reimplement 'cat' for each platform...

Best regards,

-- 
DoubleF


More information about the CMake mailing list