Of course. It would be useful. Perhaps you could propose a patch to add it?<div><br><br>On Tuesday, May 5, 2015, Sergei Nikulov <<a href="mailto:sergey.nikulov@gmail.com">sergey.nikulov@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello David,</div><div><br></div><div>Thank you for answer.</div><div><br></div>It could be useful feature for ExternalProject.cmake<div>What do your think?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-05 16:13 GMT+03:00 David Cole <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','DLRdave@aol.com');" target="_blank">DLRdave@aol.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It's possible to do anything you want if you provide your own custom DOWNLOAD_COMMAND.<br>
<br>
I'm not aware of any depth options exposed via ExternalProject_Add, though.<br>
<br>
<br>
HTH,<br>
David C.<br>
<div><div><br>
<br>
> On May 5, 2015, at 5:19 AM, Sergei Nikulov <<a href="javascript:_e(%7B%7D,'cvml','sergey.nikulov@gmail.com');" target="_blank">sergey.nikulov@gmail.com</a>> wrote:<br>
><br>
> Hello All,<br>
><br>
> Is it possible to provide git depth option for ExternalProject_Add command?<br>
> I see no such option for GIT_... parameters in documentation.<br>
><br>
><br>
> Thank you.<br>
><br>
><br>
> --<br>
> Best Regards,<br>
> Sergei Nikulov<br>
</div></div>> --<br>
><br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
><br>
> Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
><br>
> CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
> CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
> CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/cmake" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Best Regards,<br>Sergei Nikulov</div>
</div>
</blockquote></div>