[cmake-developers] Idea for Multi-Toolchain Support

Kyle Edwards kyle.edwards at kitware.com
Mon Dec 24 11:07:26 EST 2018

On Sat, 2018-12-22 at 16:57 +0100, Torsten Robitzki wrote:
> What I’m still missing is support to define dependencies between
> different targets (build by different toolchains), so that I can
> describe that I require a tool that is build with the HostToolChain,
> to generate a file that is required by the part of the build, that is
> using the CrossToolChain. And, of cause, if the source of that tool
> changes, that tool have to be rebuild and the generated file from the
> CrossToolChain part of the build have to be rebuild.

What about add_dependencies()? Is that sufficient, or is there
something more that you need?


More information about the cmake-developers mailing list