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

2012-07-25 Thread hce
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 ..).

Thank you.

J



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/How-to-define-file-access-mode-in-file-write-function-tp7580965.html
Sent from the CMake mailing list archive at Nabble.com.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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

2012-07-25 Thread Kornel Benko
Am Mittwoch, 25. Juli 2012 um 04:17:18, schrieb hce jupiter@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


signature.asc
Description: This is a digitally signed message part.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake