[cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)
Stephen Kelly
steveire at gmail.com
Tue Feb 24 17:31:10 EST 2015
Stephen Kelly wrote:
>> For the diamond-usage problem, is there some way of utilizing the
>> COMPATIBLE_INTERFACES to deny the mixing of two libraries where each
>> built with an object libraries' objects? Having a property to trigger
>> that would be nice...
>
> Yes, that's possible by adding an ExclusiveList compatible type and
> populating an appropriate property when linking to OBJECT libraries. I've
> written a prototype and can clean it up and post it if that's part of the
> solution.
I pushed the ExclusiveList-compatibility branch to my clone.
More information about the cmake-developers
mailing list