Re: [cmake-developers] Build multiple CMake projects

2017-03-27 Thread Daniel Pfeifer
On Fri, Mar 24, 2017 at 7:35 PM, wrote: > Hi, > > I have some CMake projects which depend on each other. They provide Config > scripts (all generated with the help of CMakePackageConfigHelpers) and the > CMake projects find there dependencies with find_package(). Even the >

Re: [cmake-developers] Build multiple CMake projects

2017-03-27 Thread Petr Kmoch
Hi Jerry, from your description, it seems like you might be looking for the CMake module ExternalProject: https://cmake.org/cmake/help/latest/module/ExternalProject.html The idea is that you create a "superbuild" CMake project which consists of ExternalProject_Add calls and related

[cmake-developers] Build multiple CMake projects

2017-03-24 Thread jerry . c . t
Hi, I have some CMake projects which depend on each other. They provide Config scripts (all generated with the help of CMakePackageConfigHelpers) and the CMake projects find there dependencies with find_package(). Even the transitive dependencies are correctly modelled (exported to the Config