[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: frameworks branch now requires CMake 2.8.6 RC 2
From:       Stephen Kelly <steveire () gmail ! com>
Date:       2011-09-23 17:05:51
Message-ID: j5ie9g$eeg$1 () dough ! gmane ! org
[Download RAW message or body]

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?



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic