|
|
|
@ -22,8 +22,8 @@
|
|
|
|
|
# The following variables point to the location of the KDE libraries,
|
|
|
|
|
# but shouldn't be used directly:
|
|
|
|
|
#
|
|
|
|
|
# KDE4_KDECORE_LIBRARY - the tdecore library
|
|
|
|
|
# KDE4_KDEUI_LIBRARY - the tdeui library
|
|
|
|
|
# KDE4_TDECORE_LIBRARY - the tdecore library
|
|
|
|
|
# KDE4_TDEUI_LIBRARY - the tdeui library
|
|
|
|
|
# KDE4_KIO_LIBRARY - the kio library
|
|
|
|
|
# KDE4_KPARTS_LIBRARY - the kparts library
|
|
|
|
|
# KDE4_KUTILS_LIBRARY - the kutils library
|
|
|
|
@ -32,13 +32,13 @@
|
|
|
|
|
# KDE4_KHTML_LIBRARY - the khtml library
|
|
|
|
|
# KDE4_KJS_LIBRARY - the kjs library
|
|
|
|
|
# KDE4_KNEWSTUFF_LIBRARY - the knewstuff library
|
|
|
|
|
# KDE4_KDEPRINT_LIBRARY - the tdeprint library
|
|
|
|
|
# KDE4_TDEPRINT_LIBRARY - the tdeprint library
|
|
|
|
|
# KDE4_KSPELL2_LIBRARY - the kspell2 library
|
|
|
|
|
# KDE4_KDNSSD_LIBRARY - the kdnssd library
|
|
|
|
|
# KDE4_PHONONCORE_LIBRARY - the phononcore library
|
|
|
|
|
# KDE4_PHONONUI_LIBRARY - the phononui library
|
|
|
|
|
# KDE4_KAUDIODEVICELIST_LIBRARY - the kaudiodevicelist library
|
|
|
|
|
# KDE4_KDEFX_LIBRARY - the tdefx library
|
|
|
|
|
# KDE4_TDEFX_LIBRARY - the tdefx library
|
|
|
|
|
# KDE4_THREADWEAVER_LIBRARY- the threadweaver library
|
|
|
|
|
# KDE4_SOLID_LIBRARY - the solid library
|
|
|
|
|
# KDE4_SOLIDIFACES_LIBRARY - the solidiface library
|
|
|
|
@ -51,8 +51,8 @@
|
|
|
|
|
# also contain all of the depending libraries, so the variables below
|
|
|
|
|
# should be used instead of the ones above:
|
|
|
|
|
#
|
|
|
|
|
# KDE4_KDECORE_LIBS - the tdecore library and all depending libraries
|
|
|
|
|
# KDE4_KDEUI_LIBS - the tdeui library and all depending libraries
|
|
|
|
|
# KDE4_TDECORE_LIBS - the tdecore library and all depending libraries
|
|
|
|
|
# KDE4_TDEUI_LIBS - the tdeui library and all depending libraries
|
|
|
|
|
# KDE4_KIO_LIBS - the kio library and all depending libraries
|
|
|
|
|
# KDE4_KPARTS_LIBS - the kparts library and all depending libraries
|
|
|
|
|
# KDE4_KUTILS_LIBS - the kutils library and all depending libraries
|
|
|
|
@ -61,13 +61,13 @@
|
|
|
|
|
# KDE4_KHTML_LIBS - the khtml library and all depending libraries
|
|
|
|
|
# KDE4_KJS_LIBS - the kjs library and all depending libraries
|
|
|
|
|
# KDE4_KNEWSTUFF_LIBS - the knewstuff library and all depending libraries
|
|
|
|
|
# KDE4_KDEPRINT_LIBS - the tdeprint library and all depending libraries
|
|
|
|
|
# KDE4_TDEPRINT_LIBS - the tdeprint library and all depending libraries
|
|
|
|
|
# KDE4_KSPELL2_LIBS - the kspell2 library and all depending libraries
|
|
|
|
|
# KDE4_KDNSSD_LIBS - the kdnssd library and all depending libraries
|
|
|
|
|
# KDE4_KDESU_LIBS - the tdesu library and all depending libraries
|
|
|
|
|
# KDE4_TDESU_LIBS - the tdesu library and all depending libraries
|
|
|
|
|
# KDE4_PHONONCORE_LIBS - the phononcore library and all depending librairies
|
|
|
|
|
# KDE4_PHONONUI_LIBRARIES - the phononui library and all depending librairies
|
|
|
|
|
# KDE4_KDEFX_LIBS - the tdefx library and all depending librairies
|
|
|
|
|
# KDE4_TDEFX_LIBS - the tdefx library and all depending librairies
|
|
|
|
|
# KDE4_THREADWEAVER_LIBRARIES- the threadweaver library and all depending libraries
|
|
|
|
|
# KDE4_SOLID_LIBS - the solid library and all depending libraries
|
|
|
|
|
# KDE4_SOLIDIFACES_LIBS - the solid iface library and all depending libraries
|
|
|
|
@ -155,7 +155,7 @@
|
|
|
|
|
# If WITH_PREFIX is given, the resulting plugin will have the prefix "lib", otherwise it won't.
|
|
|
|
|
# It creates and installs an appropriate libtool la-file.
|
|
|
|
|
#
|
|
|
|
|
# KDE4_ADD_KDEINIT_EXECUTABLE (name [NOGUI] [RUN_UNINSTALLED] file1 ... fileN)
|
|
|
|
|
# KDE4_ADD_TDEINIT_EXECUTABLE (name [NOGUI] [RUN_UNINSTALLED] file1 ... fileN)
|
|
|
|
|
# Create a KDE application in the form of a module loadable via tdeinit.
|
|
|
|
|
# A library named tdeinit_<name> will be created and a small executable which links to it.
|
|
|
|
|
# It supports KDE4_ENABLE_FINAL
|
|
|
|
@ -328,12 +328,12 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/tdecore/kernel/kglobal.h)
|
|
|
|
|
message(STATUS "Building kdelibs...")
|
|
|
|
|
|
|
|
|
|
set(KDE4_INCLUDE_DIR ${CMAKE_SOURCE_DIR})
|
|
|
|
|
set(KDE4_KDECORE_LIBS ${QT_QTCORE_LIBRARY} tdecore)
|
|
|
|
|
set(KDE4_KDEUI_LIBS ${KDE4_KDECORE_LIBS} tdeui)
|
|
|
|
|
set(KDE4_KIO_LIBS ${KDE4_KDEUI_LIBS} kio)
|
|
|
|
|
set(KDE4_TDECORE_LIBS ${QT_QTCORE_LIBRARY} tdecore)
|
|
|
|
|
set(KDE4_TDEUI_LIBS ${KDE4_TDECORE_LIBS} tdeui)
|
|
|
|
|
set(KDE4_KIO_LIBS ${KDE4_TDEUI_LIBS} kio)
|
|
|
|
|
set(KDE4_KPARTS_LIBS ${KDE4_KIO_LIBS} kparts)
|
|
|
|
|
set(KDE4_KUTILS_LIBS ${KDE4_KIO_LIBS} kutils)
|
|
|
|
|
set(KDE4_KDEFX_LIBS ${KDE4_KDEFX_LIBS} tdefx)
|
|
|
|
|
set(KDE4_TDEFX_LIBS ${KDE4_TDEFX_LIBS} tdefx)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin )
|
|
|
|
@ -394,14 +394,14 @@ else(EXISTS ${CMAKE_SOURCE_DIR}/tdecore/kernel/kglobal.h)
|
|
|
|
|
# this file contains all dependencies of all libraries of kdelibs, Alex
|
|
|
|
|
include(${kde_cmake_module_dir}/KDELibsDependencies.cmake)
|
|
|
|
|
|
|
|
|
|
find_library(KDE4_KDECORE_LIBRARY NAMES tdecore PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_KDECORE_LIBS ${tdecore_LIB_DEPENDS} ${KDE4_KDECORE_LIBRARY} )
|
|
|
|
|
find_library(KDE4_TDECORE_LIBRARY NAMES tdecore PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_TDECORE_LIBS ${tdecore_LIB_DEPENDS} ${KDE4_TDECORE_LIBRARY} )
|
|
|
|
|
|
|
|
|
|
find_library(KDE4_KDEFX_LIBRARY NAMES tdefx PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_KDEFX_LIBS ${tdefx_LIB_DEPENDS} ${KDE4_KDEFX_LIBRARY} )
|
|
|
|
|
find_library(KDE4_TDEFX_LIBRARY NAMES tdefx PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_TDEFX_LIBS ${tdefx_LIB_DEPENDS} ${KDE4_TDEFX_LIBRARY} )
|
|
|
|
|
|
|
|
|
|
find_library(KDE4_KDEUI_LIBRARY NAMES tdeui PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_KDEUI_LIBS ${tdeui_LIB_DEPENDS} ${KDE4_KDEUI_LIBRARY} )
|
|
|
|
|
find_library(KDE4_TDEUI_LIBRARY NAMES tdeui PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_TDEUI_LIBS ${tdeui_LIB_DEPENDS} ${KDE4_TDEUI_LIBRARY} )
|
|
|
|
|
|
|
|
|
|
find_library(KDE4_KIO_LIBRARY NAMES kio PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_KIO_LIBS ${kio_LIB_DEPENDS} ${KDE4_KIO_LIBRARY} )
|
|
|
|
@ -424,15 +424,15 @@ else(EXISTS ${CMAKE_SOURCE_DIR}/tdecore/kernel/kglobal.h)
|
|
|
|
|
find_library(KDE4_KNEWSTUFF_LIBRARY NAMES knewstuff PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_KNEWSTUFF_LIBS ${knewstuff_LIB_DEPENDS} ${KDE4_KNEWSTUFF_LIBRARY} )
|
|
|
|
|
|
|
|
|
|
find_library(KDE4_KDEPRINT_LIBRARY NAMES tdeprint PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_KDEPRINT_LIBS ${tdeprint_LIB_DEPENDS} ${KDE4_KDEPRINT_LIBRARY} )
|
|
|
|
|
find_library(KDE4_TDEPRINT_LIBRARY NAMES tdeprint PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_TDEPRINT_LIBS ${tdeprint_LIB_DEPENDS} ${KDE4_TDEPRINT_LIBRARY} )
|
|
|
|
|
|
|
|
|
|
find_library(KDE4_KSPELL2_LIBRARY NAMES kspell2 PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_KSPELL2_LIBS ${kspell2_LIB_DEPENDS} ${KDE4_KSPELL2_LIBRARY} )
|
|
|
|
|
|
|
|
|
|
if (UNIX)
|
|
|
|
|
find_library(KDE4_KDESU_LIBRARY NAMES tdesu PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_KDESU_LIBS ${tdesu_LIB_DEPENDS} ${KDE4_KDESU_LIBRARY} )
|
|
|
|
|
find_library(KDE4_TDESU_LIBRARY NAMES tdesu PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
|
set(KDE4_TDESU_LIBS ${tdesu_LIB_DEPENDS} ${KDE4_TDESU_LIBRARY} )
|
|
|
|
|
endif (UNIX)
|
|
|
|
|
|
|
|
|
|
find_library(KDE4_KDNSSD_LIBRARY NAMES kdnssd PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
|
|
|
|
@ -472,7 +472,7 @@ else(EXISTS ${CMAKE_SOURCE_DIR}/tdecore/kernel/kglobal.h)
|
|
|
|
|
find_library(KDE4_KWALLETCLIENT_LIBRARY NAMES kwalletclient PATHS ${KDE4_LIB_INSTALL_DIR} )
|
|
|
|
|
set(KDE4_KWALLETCLIENT_LIBS ${kwalletclient_LIB_DEPENDS} ${KDE4_KWALLETCLIENT_LIBRARY} )
|
|
|
|
|
|
|
|
|
|
get_filename_component(KDE4_LIB_DIR ${KDE4_KDECORE_LIBRARY} PATH )
|
|
|
|
|
get_filename_component(KDE4_LIB_DIR ${KDE4_TDECORE_LIBRARY} PATH )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# at first the KDE include direcory
|
|
|
|
@ -544,7 +544,7 @@ if (WIN32)
|
|
|
|
|
# if we are compiling kdelibs, add KDEWIN32_LIBRARIES explicitely,
|
|
|
|
|
# otherwise they come from KDELibsDependencies.cmake, Alex
|
|
|
|
|
if(EXISTS ${CMAKE_SOURCE_DIR}/tdecore/kernel/kglobal.h)
|
|
|
|
|
set( KDE4_KDECORE_LIBS ${KDE4_KDECORE_LIBS} ${KDEWIN32_LIBRARIES} )
|
|
|
|
|
set( KDE4_TDECORE_LIBS ${KDE4_TDECORE_LIBS} ${KDEWIN32_LIBRARIES} )
|
|
|
|
|
endif(EXISTS ${CMAKE_SOURCE_DIR}/tdecore/kernel/kglobal.h)
|
|
|
|
|
|
|
|
|
|
# windows, mingw
|
|
|
|
|