Add file permissions like PERMISSIONS in file(COPY ...) to file(GENERATE ...)
Useful in the case where cmake is used to generate shell scripts that need to have their permissions changed in order to execute the file at command line.
Useful in the case where cmake is used to generate shell scripts that need to have their permissions changed in order to execute the file at command line.