Re: [CMake] File permissions on CONFIGURE_FILE output

2010-02-03 Thread Aaron_Wright
e: [CMake] File permissions on CONFIGURE_FILE output Sent by: cmake-boun...@cmake.org You're right, I could have sworn that file(COPY...) has been around for ages ;-) Michael On 3. Feb, 2010, at 12:05 , Chris Hillery wrote: > Whoops - I take it back. I see that it IS there in the 2.8 online

Re: [CMake] File permissions on CONFIGURE_FILE output

2010-02-03 Thread Michael Wild
You're right, I could have sworn that file(COPY...) has been around for ages ;-) Michael On 3. Feb, 2010, at 12:05 , Chris Hillery wrote: > Whoops - I take it back. I see that it IS there in the 2.8 online docs, as a > separate file( entry as you said. Not terribly clear IMHO, but > anyway. So

Re: [CMake] File permissions on CONFIGURE_FILE output

2010-02-03 Thread Chris Hillery
> You probably didn't grep the man-page thoroughly ;-) It is documented as > "file(" > I did, actually! It ain't there on the online manual: http://www.cmake.org/cmake/help/cmake2.6docs.html#command:file Moreover, your script doesn't work here with CMake 2.6.4. Maybe it was added in CMake 2.8? I

Re: [CMake] File permissions on CONFIGURE_FILE output

2010-02-03 Thread Chris Hillery
Whoops - I take it back. I see that it IS there in the 2.8 online docs, as a separate file( entry as you said. Not terribly clear IMHO, but anyway. So I guess this is a new 2.8 feature (it really truly isn't there in 2.6.4). Ceej aka Chris Hillery On Wed, Feb 3, 2010 at 3:04 AM, Chris Hillery wro

Re: [CMake] File permissions on CONFIGURE_FILE output

2010-02-03 Thread Chris Hillery
On Wed, Feb 3, 2010 at 1:09 AM, Michael Wild wrote: > > On 2. Feb, 2010, at 22:31 , aaron_wri...@selinc.com wrote: > > > I run CONFIGURE_FILE on a file that is read only. The output file is also > > read only, which is a problem because I need to append to it. Is there a > > way to change this be

Re: [CMake] File permissions on CONFIGURE_FILE output

2010-02-03 Thread Michael Wild
On 3. Feb, 2010, at 10:16 , Chris Hillery wrote: > On Wed, Feb 3, 2010 at 1:09 AM, Michael Wild wrote: > >> >> On 2. Feb, 2010, at 22:31 , aaron_wri...@selinc.com wrote: >> >>> I run CONFIGURE_FILE on a file that is read only. The output file is also >>> read only, which is a problem because

Re: [CMake] File permissions on CONFIGURE_FILE output

2010-02-03 Thread Michael Wild
On 2. Feb, 2010, at 22:31 , aaron_wri...@selinc.com wrote: > I run CONFIGURE_FILE on a file that is read only. The output file is also > read only, which is a problem because I need to append to it. Is there a > way to change this behavior? Or a work around? > Either change the source-file pe

[CMake] File permissions on CONFIGURE_FILE output

2010-02-02 Thread Aaron_Wright
I run CONFIGURE_FILE on a file that is read only. The output file is also read only, which is a problem because I need to append to it. Is there a way to change this behavior? Or a work around? - Aaron Wright ___