The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=15799 ====================================================================== Reported By: gonzalob...@gmail.com Assigned To: ====================================================================== Project: CMake Issue ID: 15799 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-10-19 07:31 EDT Last Modified: 2015-10-19 07:31 EDT ====================================================================== Summary: Way to pass git options for cloning in ExternalProject_Add Description: AFAIK there is no way to pass git options while cloning repositories with ExternalProject_Add.
Cloning git repositories can take a very long time. Git has options that make cloning instantaneous if e.g. only one revision is required. For example: --depth 1 clones only the latest revision very fast. I would like to be able to pass options to git clone since that would significantly improve my build times, which right now spend a very long time cloning the whole history of multiple git repositories. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-10-19 07:31 gonzalobg88@gmail.comNew Issue ====================================================================== -- 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-developers