Re: [CMake] installing/overwriting single file

2009-11-04 Thread Randy Heiland
That does indeed work great - thanks! If anyone knows if this solution is dependent on a recent cmake version, I'd welcome hearing about it. I happen to be using 2.8rc3, but would like to know if it might cause problems for earlier versions. -Randy On Nov 4, 2009, at 4:07 PM, Alexander N

Re: [CMake] installing/overwriting single file

2009-11-04 Thread Alexander Neundorf
On Wednesday 04 November 2009, Randy Heiland wrote: > During an 'install', I would like to copy/overwrite a source file to a > destination file. How? Something like the following (in syntax), > although I am assuming that it is only legal to copy a file into a dir > (and therefore the 'foo.cxx' i

Re: [CMake] installing/overwriting single file

2009-11-04 Thread Dixon, Shane
oo.cxx ) -- Shane Dixon Linux Engineer Atmel Corporation From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Randy Heiland Sent: Wednesday, November 04, 2009 11:19 AM To: cmake@cmake.org Subject: [CMake] installing/overwriting single

[CMake] installing/overwriting single file

2009-11-04 Thread Randy Heiland
During an 'install', I would like to copy/overwrite a source file to a destination file. How? Something like the following (in syntax), although I am assuming that it is only legal to copy a file into a dir (and therefore the 'foo.cxx' isn't allow)? INSTALL(FILES ${CMA