[CMake] How to define file access mode in file write function?

Kornel Benko kornel at lyx.org
Wed Jul 25 07:51:21 EDT 2012


Am Mittwoch, 25. Juli 2012 um 04:17:18, schrieb hce <jupiter.hce at gmail.com>
> Hi,
> 
> How do you control the file access permission when using file(WRITE filename
> content)? The cmake 2.8.8 manual does not seem allow to specify access
> permission in file(WRITE ..).

But install(....) does.

> Thank you.
> 
> J
> 

	Kornel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120725/e2c5db08/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120725/e2c5db08/attachment.pgp>


More information about the CMake mailing list