From 1f92c73dba4b55d9f2306aeb7ba4de540151dbc8 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Thu, 2 Mar 2006 22:03:54 +0000 Subject: -prepare the KDE3 files for moving to cmake cvs -added the variables formerly sitting in kdebase/cmake/modules/FindKDE4.cmake -added export_library_dependencies(KDELibsDependencies.cmake) command to kdelibs/CMakeLists.txt, this file will be installed and used later on by FindKDE4Internal.cmake when stuff != kdelibs is compiled Please have a look at KDELibsDependencies.cmake to see what it contains. The variables set there still have to be used in FindKDE4Internal.cmake for setting the KDE4_FOO_LIBRARIES() varaibles, I only did it unitl now for kdeui. Alex CCMAIL: montel@kde.org svn path=/trunk/KDE/kdelibs/; revision=515162 --- modules/FindKDE4Internal.cmake | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'modules/FindKDE4Internal.cmake') diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 55bfdb74..8c2fd266 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -113,6 +113,30 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h) else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h) + get_filename_component( kde_cmake_module_dir ${CMAKE_CURRENT_LIST_FILE} PATH) + # this file contains all dependencies of all libraries of kdelibs, Alex + include(${kde_cmake_module_dir}/KDELibsDependencies.cmake) + +# the following variables should be named KDE4_KIO_LIBRARIES etc +# Alex + + set(LIB_KDECORE ${QT_AND_KDECORE_LIBS} ${QT_QTGUI_LIBRARY} ${X11_X11_LIB} DCOP ${ZLIB_LIBRARY}) + + # kdeui_LIB_DEPENDS comes from KDELibsDependencies.cmake, Alex + set(LIB_KDEUI ${kdeui_LIB_DEPENDS} kdeui) + +message(STATUS "kdeui: ${LIB_KDEUI}") + + set(LIB_KIO ${LIB_KDEUI} kio) + + set(LIB_KPARTS ${LIB_KIO} kparts) + + set(LIB_KUTILS ${LIB_KPARTS} kutils) + + set(LIB_KDE3SUPPORT ${QT_QT3SUPPORT_LIBRARY} ${LIB_KUTILS} kde3support) + + + # ... but NOT otherwise set( _KDE4_DCOPIDL2CPP_DEP ) set( _KDE4_KCONFIG_COMPILER_DEP) -- cgit v1.2.1