View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014452CMakeModulespublic2013-10-02 04:272016-06-10 14:31
ReporterJaak Ristioja 
Assigned ToKitware Robot 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0014452: Provide means to prevent ExternalProject module from using git submodules
DescriptionCurrently, the ExternalProject module initializes, fetches and updates git submodules by default, with no means to disable this feature. Please provide means to disable it, e.g. by ExternalProject_Add argument "GIT_NO_USE_SUBMODULES" or similar. This is needed for certain build setups.

Thanks! :)
TagsNo tags attached.
Attached Files


David Cole (manager)
2013-10-07 10:08

The "means" that ExternalProject provides to disable the commands it runs is that you can override the command entirely, and do whatever you want for that step.

For the git download and update steps, ExternalProject generates scripts to run via cmake -P that involve many git operations to take things like submodules and upstream re-writes into account...

You can certainly, with CMake as is, write your own UPDATE_COMMAND, rather than relying on the built-in one that gets used by default when you specify a git repo.

On the other hand, your request will certainly be useful for others. If you can attach a proposed patch, it will certainly be considered by the CMake developers.
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-10-02 04:27 Jaak Ristioja New Issue
2013-10-07 10:08 David Cole Note Added: 0034029
2016-06-10 14:29 Kitware Robot Note Added: 0042381
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed

Copyright © 2000 - 2018 MantisBT Team