Re: [CMake] installation of properly line ended text files

2007-08-24 Thread James Bigler
Alexander Neundorf wrote: On Friday 24 August 2007 04:48, Andreas Pakulat wrote: On 24.08.07 11:02:02, Dizzy wrote: My project in the install phase copies some configuration files. These files are originally using UNIX line endings (we are doing main development on UNIX plus SVN likes to keep t

Re: [CMake] installation of properly line ended text files

2007-08-24 Thread Alexander Neundorf
On Friday 24 August 2007 04:48, Andreas Pakulat wrote: > On 24.08.07 11:02:02, Dizzy wrote: > > My project in the install phase copies some configuration files. These > > files are originally using UNIX line endings (we are doing main > > development on UNIX plus SVN likes to keep them that way). >

Re: [CMake] installation of properly line ended text files

2007-08-24 Thread Eric Noulard
2007/8/24, Dizzy <[EMAIL PROTECTED]>: > On Friday 24 August 2007 13:04:15 Jack Kelly wrote: > > Dizzy wrote: > > > > You shouldn't have to do any escaping. Use > > > > CONFIGURE_FILE(${SOURCEFILE} ${DESTFILE} COPYONLY) > > Thanks for the hint. This should solve my existent problem but it's not a go

Re: [CMake] installation of properly line ended text files

2007-08-24 Thread Dizzy
On Friday 24 August 2007 13:04:15 Jack Kelly wrote: > Dizzy wrote: > > Thanks for the idea. I could use as a workarround configure_file() in > > some way or another but then I still need one more issue solved. How to > > escape "${variable}" strings in a input to configure_file() so that it > > doe

Re: [CMake] installation of properly line ended text files

2007-08-24 Thread Jack Kelly
Dizzy wrote: Thanks for the idea. I could use as a workarround configure_file() in some way or another but then I still need one more issue solved. How to escape "${variable}" strings in a input to configure_file() so that it doesn't try to do variable replacement on the placeholder? (this shou

Re: [CMake] installation of properly line ended text files

2007-08-24 Thread Dizzy
On Friday 24 August 2007 12:30:58 Andreas Pakulat wrote: > On 24.08.07 12:08:34, Dizzy wrote: > > On Friday 24 August 2007 11:48:27 Andreas Pakulat wrote: > > > Alternatively you could let your program be intelligent enough to guess > > > the lineending by checking wether its \r\n or just \n and ad

Re: [CMake] installation of properly line ended text files

2007-08-24 Thread Andreas Pakulat
On 24.08.07 12:08:34, Dizzy wrote: > On Friday 24 August 2007 11:48:27 Andreas Pakulat wrote: > > Alternatively you could let your program be intelligent enough to guess > > the lineending by checking wether its \r\n or just \n and adjust the > > reading of the conf files apropriately. > > The pro

Re: [CMake] installation of properly line ended text files

2007-08-24 Thread Dizzy
On Friday 24 August 2007 11:48:27 Andreas Pakulat wrote: > You can have a different lineending on the working copy really easily by > using svn:eol-style property (on each file where you want it). That way > you could checkout on win32 and automatically get win32-lineendings for > those files that

Re: [CMake] installation of properly line ended text files

2007-08-24 Thread Andreas Pakulat
On 24.08.07 11:02:02, Dizzy wrote: > My project in the install phase copies some configuration files. These files > are originally using UNIX line endings (we are doing main development on UNIX > plus SVN likes to keep them that way). Right, SVN internally always stores text files with only \n a

[CMake] installation of properly line ended text files

2007-08-24 Thread Dizzy
Hello My project in the install phase copies some configuration files. These files are originally using UNIX line endings (we are doing main development on UNIX plus SVN likes to keep them that way). However, when installing on Win32 (or other platform with different line endings) it would be n