[CMake] Getting cmake to apply patches
Hugh Sorby
h.sorby at auckland.ac.nz
Tue Nov 24 18:00:57 EST 2009
Sorry about that missed a chdir should be
cmake -E chdir netgen patch -p0 -i netgen-4.9.11.patch
from following the documentation:
cmake -E chdir dir cmd [args]...
Eric Noulard wrote:
> 2009/11/24 Hugh Sorby <h.sorby at auckland.ac.nz>:
>
>> So I am trying to get CMake to apply patches to third party source.
>> First off can someone confirm (, I'm hoping I haven't missed the obvoius)
>> that there isn't an inbuilt command to apply unified diffs.
>>
>> Secondly can anyone tell me how to stop CMake consuming the "-i" in
>> following command:
>>
>> cmake -E netgen patch -p0 -i netgen-4.9.11.patch
>>
>
> I cannot understand that cmake -E syntax?
>
> Is supposed to apply "netgen-4.9.11.patch" patch file
> on the "netgen" source tree?
>
>
>
More information about the CMake
mailing list