[cmake-developers] [Review request] Topic ExternalProject_SCM_DISCONNECTED

Daniele E. Domenichelli daniele.domenichelli at gmail.com
Wed Nov 5 03:58:24 EST 2014


Hello all,

Please review the topic ExternalProject_SCM_DISCONNECTED.

This patch adds a SCM_DISCONNECTED option to ExternalProject_Add.

If SCM_DISCONNECTED is set, the update step is not executed
automatically when building the main target. The update step can still
be added as a step target and called manually. This is useful if you
want to allow to build the project when you are disconnected from the
network (you might still need the network for the download step).
This is disabled by default.

The directory property EP_SCM_DISCONNECTED can be used to change the
default value for all the external projects in the current directory and
its subdirectories.

These are the commits in the topic:

* ExternalProject: Always add a command to a step
  http://cmake.org/gitweb?p=stage/cmake.git;a=commitdiff;h=b3983d18d

* ExternalProject: Add SCM_DISCONNECTED option
  http://cmake.org/gitweb?p=stage/cmake.git;a=commitdiff;h=7a7b29311

* ExternalProject: Add unit tests for SCM_DISCONNECTED
  http://cmake.org/gitweb?p=stage/cmake.git;a=commitdiff;h=48b78695e


Cheers,
 Daniele


More information about the cmake-developers mailing list