Hi,
when I removed the option to enable the reduced linking I forgot to remove
some part, this forgotten change is in the attached patch.
With this patch now by default the "link interface" is empty, and only
contains something if the target property is set (currently in svn by default
it is still full and only reduced if the target property is set).
In the last days I fixed kdelibs, kdebase, kdesdk, kdegames, kdepim,
kdepimlibs, kdeuitls and kdenetwork to build with this patch.
Can you please give it a try and also have a look at the remaining modules ?
I'll try kdeedu tomorrow.
Alex
Index: KDE4Macros.cmake
===================================================================
--- KDE4Macros.cmake (revision 847138)
+++ KDE4Macros.cmake (working copy)
@@ -880,14 +880,12 @@
set(_symbol "MAKE_${_symbol}_LIB")
set_target_properties(${_target_NAME} PROPERTIES DEFINE_SYMBOL ${_symbol})
- # if that option is enabled, by default don't add any linked libraries to the "exported"
+ # by default don't add any linked libraries to the "exported"
# link interfaces, so that executables linking against this library won't get additional
# indirect dependencies. This makes work easier for packagers and should make application
# startup somewhat faster, if I understood Dirk correctly.
if(NOT "${_add_lib_param}" STREQUAL "STATIC")
- if(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT AND UNIX )# AND NOT APPLE)
- set_target_properties(${_target_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "" )
- endif(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT AND UNIX)# AND NOT APPLE)
+ set_target_properties(${_target_NAME} PROPERTIES ${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES "" )
endif(NOT "${_add_lib_param}" STREQUAL "STATIC")
endmacro (KDE4_ADD_LIBRARY _target_NAME _lib_TYPE)
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem