[CMake] ExternalProject_Add // git shallow clone

David Cole DLRdave at aol.com
Tue May 5 22:23:07 EDT 2015


Of course. It would be useful. Perhaps you could propose a patch to add it?


On Tuesday, May 5, 2015, Sergei Nikulov <sergey.nikulov at gmail.com> wrote:

> Hello David,
>
> Thank you for answer.
>
> It could be useful feature for ExternalProject.cmake
> What do your think?
>
>
> 2015-05-05 16:13 GMT+03:00 David Cole <DLRdave at aol.com
> <javascript:_e(%7B%7D,'cvml','DLRdave at aol.com');>>:
>
>> It's possible to do anything you want if you provide your own custom
>> DOWNLOAD_COMMAND.
>>
>> I'm not aware of any depth options exposed via ExternalProject_Add,
>> though.
>>
>>
>> HTH,
>> David C.
>>
>>
>> > On May 5, 2015, at 5:19 AM, Sergei Nikulov <sergey.nikulov at gmail.com
>> <javascript:_e(%7B%7D,'cvml','sergey.nikulov at gmail.com');>> wrote:
>> >
>> > Hello All,
>> >
>> > Is it possible to provide git depth option for ExternalProject_Add
>> command?
>> > I see no such option for GIT_... parameters in documentation.
>> >
>> >
>> > Thank you.
>> >
>> >
>> > --
>> > Best Regards,
>> > Sergei Nikulov
>> > --
>> >
>> > Powered by www.kitware.com
>> >
>> > Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>> >
>> > Kitware offers various services to support the CMake community. For
>> more information on each offering, please visit:
>> >
>> > CMake Support: http://cmake.org/cmake/help/support.html
>> > CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> > CMake Training Courses: http://cmake.org/cmake/help/training.html
>> >
>> > Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://public.kitware.com/mailman/listinfo/cmake
>>
>
>
>
> --
> Best Regards,
> Sergei Nikulov
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150505/088f8eec/attachment.html>


More information about the CMake mailing list