Re: [CMake] Patch on Windows?

2015-09-01 Thread CHEVRIER, Marc
rg<mailto:cmake@cmake.org>" Subject: [CMake] Patch on Windows? There was a thread back in January of 2014 about “It would be great if CMake implemented a "cmake -E patch".”. This feature would really help us out, especially since the patch tool was removed from the Git for Windo

Re: [CMake] Patch on Windows?

2015-09-01 Thread Bill Hoffman
On 9/1/2015 11:51 AM, Macumber, Daniel wrote: There was a thread back in January of 2014 about “It would be great if CMake implemented a "cmake -E patch".”. This feature would really help us out, especially since the patch tool was removed from the Git for Windows distribution (I have no idea wh

[CMake] Patch on Windows?

2015-09-01 Thread Macumber, Daniel
There was a thread back in January of 2014 about "It would be great if CMake implemented a "cmake -E patch".". This feature would really help us out, especially since the patch tool was removed from the Git for Windows distribution (I have no idea why). Did anything ever happen with this reque

Re: [CMake] patch on Windows

2014-01-14 Thread Nils Gladitz
On 14.01.2014 17:05, Bill Hoffman wrote: It would take a bit to port it to windows Might not be a bad start Is there already a Windows port? I haven't found one ... the most obvious incompatibility seems to be temporary file creation. I was sort of hoping to find something in kws

Re: [CMake] patch on Windows

2014-01-14 Thread Bill Hoffman
On 1/14/2014 10:48 AM, Nils Gladitz wrote: I don't know about good but perhaps: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/patch/patch.c?rev=1.51;content-type=text%2Fplain https://github.com/freebsd/freebsd/blob/master/usr.bin/patch/patch.c It would take a bit to port it to windows...

Re: [CMake] patch on Windows

2014-01-14 Thread Nils Gladitz
On 01/14/2014 04:22 PM, Bill Hoffman wrote: Yes, it would. However, there does not seem to exist a good BSD licensed patch implementation that we can use. I think it would be quite a bit of work to implement one from scratch. I don't know about good but perhaps: http://www.openbsd.org/cgi

Re: [CMake] patch on Windows

2014-01-14 Thread Bill Hoffman
On 1/12/2014 7:46 AM, Rob McDonald wrote: It doesn't. It would be great if CMake implemented a "cmake -E patch". Agreed. Yes, it would. However, there does not seem to exist a good BSD licensed patch implementation that we can use. I think it would be quite a bit of work to implement o

Re: [CMake] patch on Windows

2014-01-12 Thread Rob McDonald
> > On Sun, Jan 12, 2014 at 1:39 AM, Rob McDonald wrote: > >> Where does CMake get its patch implementation? >> > > It doesn't. It would be great if CMake implemented a "cmake -E patch". > Agreed. > > Problem is patch from GNUWin32 does not support Unix line endings (it will > crash), therefore

Re: [CMake] patch on Windows

2014-01-12 Thread Eric Noulard
2014/1/12 Pau Garcia i Quiles : > > > > On Sun, Jan 12, 2014 at 1:39 AM, Rob McDonald > wrote: >> >> Where does CMake get its patch implementation? > > > It doesn't. It would be great if CMake implemented a "cmake -E patch". > >> >> >> >> I'm using a patch step with ExternalProject_Add on Windows

Re: [CMake] patch on Windows

2014-01-12 Thread Pau Garcia i Quiles
On Sun, Jan 12, 2014 at 1:39 AM, Rob McDonald wrote: > Where does CMake get its patch implementation? > It doesn't. It would be great if CMake implemented a "cmake -E patch". > > I'm using a patch step with ExternalProject_Add on Windows (and other > platforms). > > I am downloading the patch b

Re: [CMake] patch on Windows

2014-01-12 Thread Nils Gladitz
On 12.01.2014 01:39, Rob McDonald wrote: Where does CMake get its patch implementation? As far as I know CMake does not have a patch implementation. I'm using a patch step with ExternalProject_Add on Windows (and other platforms). I had it working on one Windows machine - which unfortunat

[CMake] patch on Windows

2014-01-11 Thread Rob McDonald
Where does CMake get its patch implementation? I'm using a patch step with ExternalProject_Add on Windows (and other platforms). I had it working on one Windows machine - which unfortunately just got knocked off a desk and will never be recovered. The same files on a different Windows machine do