[CMake] ExternalProject_Add_StepDependencies parallel download/cloning

Klaim - Joël Lamotte mjklaim at gmail.com
Fri Jul 17 12:53:38 EDT 2015


I am setting up a bunch of dependencies using ExternalProject module.
One of the dependencies, say A, needs another dependency B to be built
before A can be built.
ExternalProject_Add_StepDependencies solves the problem fine.

However, I did it this way:

ExternalProject_Add_StepDependencies( A configure B )

Because I wanted A and B repositories to be cloned in parallel, as it
should be
safe to do so. Only A's configure step require that B be built and
installed first.
As A and B have very big repositories, it might help to have them be
downloaded
concurrently.

Is there a way to do this?

Joël Lamotte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150717/6b055065/attachment.html>


More information about the CMake mailing list