[CMake] external project add, clone without history

J. Caleb Wherry calebwherry at gmail.com
Wed Feb 25 18:36:34 EST 2015


Actually, scratch my last comment and submodules. There looks to be a
GIT_SUBMODULES option that says if not given, all submodules will be
updated. I am assuming that means the CMake passes in the --recursive
option automatically when cloning. Haven't tested it yet though...

-Caleb

On Wed, Feb 25, 2015 at 9:50 AM, Miklos Espak <m.espak at ucl.ac.uk> wrote:

> Hi,
>
> is it possible to specify the --depth 1 argument in ExternalProject_Add
> for cloning projects from git?
>
> Cheers,
> Miklos
>
>
> --
>
> 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
>



-- 
J. Caleb Wherry
*Scientific Software Engineer*

<http://www.calebwherry.com>
http://www.calebwherry.com
+1 (615) 708-5651
calebwherry at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150225/892e1376/attachment.html>


More information about the CMake mailing list