[CMake] Dependency on imported target with ninja-generator

Patrick Boettcher patrick.boettcher at posteo.de
Tue Jun 28 18:04:38 EDT 2016


On Wed, 22 Jun 2016 19:44:14 -0500
Nicholas Braden <nicholas11braden at gmail.com> wrote:

> If Project B depends on Project A, you should probably be using the
> ExternalProject module with a superproject structure that builds both
> projects in the proper order.
> 
> https://cmake.org/cmake/help/latest/module/ExternalProject.html
> 
> Trying to manually call CMake is not really a good idea IMO - let
> ExternalProject handle it for you.

That was it: superproject - based on CMake + ExternalProject.

Thanks a lot.

Regards,
--
Patrick.


More information about the CMake mailing list