[CMake] Link order and interface multiplicity

Patrick Boettcher patrick.boettcher at posteo.de
Thu May 18 02:23:01 EDT 2017


On Wed, 17 May 2017 21:15:39 +0000
Etan Kissling <kissling at oberon.ch> wrote:

> Not sure if I understand that correctly, but isn't that essential the
> same as creating a FooA and BarA that link to IA, and a FooB and BarB
> that link to IB, and linking ExeA to FooA and ExeB to FooB?
> 
> Problem with this approach is that there are more than two
> implementations of I, and way more than two Exes ^_^
 
Could you create an example repository (on github for example) which
templates what you're trying to achieve?

From what I understood so far, I doubt that all of it can be
achieved in one cmake-build. Maybe you need to create a super-project
and work with export() and include(). 

regards,
--
Patrick.






More information about the CMake mailing list