|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0014452||CMake||Modules||public||2013-10-02 04:27||2016-06-10 14:31|
|Assigned To||Kitware Robot|
|Target Version||Fixed in Version|
|Summary||0014452: Provide means to prevent ExternalProject module from using git submodules|
|Description||Currently, 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.|
|Tags||No tags attached.|
David Cole (manager)
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)
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.
|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|