Skip to content

file(WRITE): Report errors during write operation

Ruslan Baratov requested to merge ruslo/cmake:pr.file_write_check into master

We already report an error if the file cannot be opened for writing. Add another check to report an error if a write operation itself fails.

Edited by Brad King

Merge request reports