[cmake-developers] ExternalProject and git clone
Brad King
brad.king at kitware.com
Wed Sep 11 08:34:23 EDT 2013
On 09/11/2013 06:00 AM, Daniele E. Domenichelli wrote:
> On 10/09/13 20:05, Brad King wrote:
>> I think it should be explicitly enabled or disabled by an option:
>>
>> GIT_WORK_TREE_PRESERVE <0|1>
>
> What about EP_WORK_TREE_PRESERVE? Even though the patch is for git only
> at the moment, I think this should be supported also for the other
> repositories (perhaps just failing if there are no equivalent commands
> to make the checks)
The EP_ prefix is not needed because this is already an option of
the ExternalProject_Add function. How about SOURCE_DIR_PRESERVE?
-Brad
More information about the cmake-developers
mailing list