Hi,

I've pushed my current work to my clone in the INTERFACE_LINK_LIBRARIES-prop 
topic. It's not yet complete, but I think it has almost all elements of the 
solution.

Brad King wrote:

>>> I wonder if we can distinguish PUBLIC/PRIVATE/INTERFACE for STATIC
>>> for application of usage requirements.  The requirement to link
>>> dependents to a static library's dependencies is an implementation
>>> detail for linking only.
>>
>> Something like this will probably be possible. I'll have a closer look at
>> the implementation later.

An issue with static libraries arises when exporting, as we only export the 
INTERFACE_LINK_LIBRARIES, but we want to communicate both link dependencies 
and usage dependencies through it. I left a comment in one of the commits 
proposing a genex-based solution similar to the INSTALL_INTERFACE genex.

Thanks,

Steve.


--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to