[cmake-developers] ExternalProject + git submodule sync

Ben Boeckel ben.boeckel at kitware.com
Tue Mar 29 10:17:07 EDT 2016


Hi,

I'd like to bump the minimum ExternalProject requirement to 1.8.1 from
November 2012 (current requirement is 1.6.5 from October 2009). The
reason is that this release introduced the `git submodule sync
--recursive` command (the command existed before, but the flag is new in
1.8.1). The usecase is for updates to the repo where the submodule URL
changes after an update. Without a `git submodule sync`, the submodule
URL at the time of `git submodule init` will continue to be used.

Or is it better to make the `git submodule sync --recursive`
conditional?

Branch on stage (unmerged into next):

    external-project-git-submodule-sync

Thanks,

--Ben


More information about the cmake-developers mailing list