frameworks branch now requires CMake 2.8.6 RC 2

Alexander Neundorf neundorf at kde.org
Sat Sep 24 03:22:56 UTC 2011


On Friday, September 23, 2011 07:05:51 PM Stephen Kelly wrote:
> Alexander Neundorf wrote:
> >> That leaves enable_final and setting LINK_INTERFACE_LIBRARIES to empty.
> >> I'm
> > 
> > Setting LINK_INTERFACE_LIBRARIES to empty is still needed and wanted.
> > By default, all libraries a target is linked agaonst are in the
> > LINK_INTERFACE, which leads to unnecessary dependencies and increased
> > load time.
> > The alternative would be not to set it to empty, and expect our
> > developers to take care of it. I think this is not realistic.
> > So I'm quite sure we still want that
> 
> I was thinking about this again, and I thought that it might be changable
> in CMake. What would you think of making
> 
> set(CMAKE_SET_LINK_INTERFACE_EMPTY ON)
> 
> be the equivalent of setting it empty for each target? I'd be willing to
> write the patch to CMake. Do you think it's an acceptable way to do this if
> CMake accepts it?

I'd support it, beside that, ask on cmake-developers.

Alex


More information about the Kde-buildsystem mailing list