Re: [CMake] ExternalProject_Add_StepDependencies parallel download/cloning

2015-07-17 Thread Klaim - Joël Lamotte
On 17 July 2015 at 19:48, David Cole wrote: > I have adopted the technique of splitting a project into two > ExternalProject_Add calls, the first of which is named > "download-${projectName}" with empty configure, build and install > stages, and the second of which is named ${projectName} with an

Re: [CMake] ExternalProject_Add_StepDependencies parallel download/cloning

2015-07-17 Thread David Cole via CMake
I have adopted the technique of splitting a project into two ExternalProject_Add calls, the first of which is named "download-${projectName}" with empty configure, build and install stages, and the second of which is named ${projectName} with an empty download step (using DOWNLOAD_COMMAND ""). The

[CMake] ExternalProject_Add_StepDependencies parallel download/cloning

2015-07-17 Thread Klaim - Joël Lamotte
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 con