[CMake] patch on Windows
Pau Garcia i Quiles
pgquiles at elpauer.org
Sun Jan 12 04:57:58 EST 2014
On Sun, Jan 12, 2014 at 1:39 AM, Rob McDonald <rob.a.mcdonald at gmail.com>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 binary from GNUWin32 as a pre-step on Windows.
Take a look at winstng:
https://elpauer.assembla.com/code/winstng/git/nodes/master/cmake/CMakeLists.txt
Problem is patch from GNUWin32 does not support Unix line endings (it will
crash), therefore I am forced to use Windows line endings in every patch
(unix2dos is your friend).
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140112/5a0c5f05/attachment.html>
More information about the CMake
mailing list