[cmake-developers] [CMake 0015799]: Way to pass git options for cloning in ExternalProject_Add

Mantis Bug Tracker mantis at public.kitware.com
Mon Oct 19 07:31:25 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=15799 
====================================================================== 
Reported By:                gonzalobg88 at 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 at gmail.comNew Issue                                 
  
======================================================================



More information about the cmake-developers mailing list