mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
generic: adjust to kdelibs changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
41b2b2257d
commit
472f24878b
78 changed files with 657 additions and 305 deletions
|
@ -5,8 +5,7 @@ include(CheckFunctionExists)
|
||||||
include(GenerateExportHeader)
|
include(GenerateExportHeader)
|
||||||
include(FeatureSummary)
|
include(FeatureSummary)
|
||||||
|
|
||||||
find_package(KDE4 4.23.0 REQUIRED)
|
find_package(KDELibs4 4.23.0 REQUIRED)
|
||||||
include(KDE4Defaults)
|
|
||||||
|
|
||||||
# kdelibs requires 0.91
|
# kdelibs requires 0.91
|
||||||
find_package(SharedMimeInfo 0.91)
|
find_package(SharedMimeInfo 0.91)
|
||||||
|
@ -392,16 +391,16 @@ configure_file(
|
||||||
@ONLY
|
@ONLY
|
||||||
)
|
)
|
||||||
configure_file(
|
configure_file(
|
||||||
KDE4WorkspaceVersion.cmake.in
|
KDE4WorkspaceConfigVersion.cmake.in
|
||||||
"${CMAKE_BINARY_DIR}/KDE4WorkspaceVersion.cmake"
|
"${CMAKE_BINARY_DIR}/KDE4WorkspaceConfigVersion.cmake"
|
||||||
@ONLY
|
@ONLY
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
FILES
|
FILES
|
||||||
${CMAKE_BINARY_DIR}/KDE4WorkspaceConfig.cmake
|
${CMAKE_BINARY_DIR}/KDE4WorkspaceConfig.cmake
|
||||||
${CMAKE_BINARY_DIR}/KDE4WorkspaceVersion.cmake
|
${CMAKE_BINARY_DIR}/KDE4WorkspaceConfigVersion.cmake
|
||||||
DESTINATION ${KDE4_DATA_INSTALL_DIR}/cmake/modules
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/cmake/KDE4Workspace
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
# KDE4WorkspaceConfig.cmake is generated by CMake from kde-workspace/KDE4WorkspaceConfig.cmake.in
|
# KDE4WorkspaceConfig.cmake is generated by CMake from kde-workspace/KDE4WorkspaceConfig.cmake.in
|
||||||
|
|
||||||
|
find_package(KDELibs4 REQUIRED QUIET)
|
||||||
|
|
||||||
# the exports file exports
|
# the exports file exports
|
||||||
set(KDE4WORKSPACE_TARGET_PREFIX @KDE4WORKSPACE_TARGET_PREFIX@)
|
set(KDE4WORKSPACE_TARGET_PREFIX @KDE4WORKSPACE_TARGET_PREFIX@)
|
||||||
|
|
||||||
# Make sure to load the exported targets only once
|
# Make sure to load the exported targets only once
|
||||||
# For the rest of this script it doesn't matter that much
|
# For the rest of this script it doesn't matter that much
|
||||||
if(NOT TARGET @KDE4WORKSPACE_TARGET_PREFIX@plasmaclock)
|
if(NOT TARGET @KDE4WORKSPACE_TARGET_PREFIX@plasmaclock)
|
||||||
get_filename_component(_currentDir "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
get_filename_component(_currentDir "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||||
include("${_currentDir}/KDE4WorkspaceLibraryTargets.cmake")
|
include("${_currentDir}/KDE4WorkspaceLibraryTargets.cmake")
|
||||||
endif(NOT TARGET @KDE4WORKSPACE_TARGET_PREFIX@plasmaclock)
|
endif(NOT TARGET @KDE4WORKSPACE_TARGET_PREFIX@plasmaclock)
|
||||||
|
|
||||||
macro(_KDE4WORKSPACE_Set_Lib_Vars _prefix _lib)
|
macro(_KDE4WORKSPACE_Set_Lib_Vars _prefix _lib)
|
||||||
set(KDE4WORKSPACE_${_prefix}_LIBRARY ${KDE4WORKSPACE_TARGET_PREFIX}${_lib})
|
set(KDE4WORKSPACE_${_prefix}_LIBRARY ${KDE4WORKSPACE_TARGET_PREFIX}${_lib})
|
||||||
set(KDE4WORKSPACE_${_prefix}_LIBS ${KDE4WORKSPACE_TARGET_PREFIX}${_lib})
|
set(KDE4WORKSPACE_${_prefix}_LIBS ${KDE4WORKSPACE_TARGET_PREFIX}${_lib})
|
||||||
endmacro(_KDE4WORKSPACE_Set_Lib_Vars)
|
endmacro(_KDE4WORKSPACE_Set_Lib_Vars)
|
||||||
|
|
||||||
|
|
||||||
|
|
23
KDE4WorkspaceConfigVersion.cmake.in
Normal file
23
KDE4WorkspaceConfigVersion.cmake.in
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# KDE4WorkspaceVersion.cmake is generated by CMake from kde-workspace/KDE4WorkspaceVersion.cmake.in
|
||||||
|
|
||||||
|
# Do we have a version number for kdebase/workspace ? Alex
|
||||||
|
set(KDE4WORKSPACE_VERSION_MAJOR @KDE_VERSION_MAJOR@)
|
||||||
|
set(KDE4WORKSPACE_VERSION_MINOR @KDE_VERSION_MINOR@)
|
||||||
|
set(KDE4WORKSPACE_VERSION_PATCH @KDE_VERSION_RELEASE@)
|
||||||
|
set(KDE4WORKSPACE_VERSION @KDE_VERSION@)
|
||||||
|
|
||||||
|
# Compatibility with find_package() query and version requirement
|
||||||
|
set(PACKAGE_VERSION "${KDE4WORKSPACE_VERSION}")
|
||||||
|
set(PACKAGE_VERSION_MAJOR "${KDE4WORKSPACE_VERSION_MAJOR}")
|
||||||
|
set(PACKAGE_VERSION_MINOR "${KDE4WORKSPACE_VERSION_MINOR}")
|
||||||
|
set(PACKAGE_VERSION_PATCH "${KDE4WORKSPACE_VERSION_PATCH}")
|
||||||
|
|
||||||
|
# Check whether the requested PACKAGE_FIND_VERSION is compatible
|
||||||
|
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
|
@ -1,7 +0,0 @@
|
||||||
# KDE4WorkspaceVersion.cmake is generated by CMake from kde-workspace/KDE4WorkspaceVersion.cmake.in
|
|
||||||
|
|
||||||
# Do we have a version number for kdebase/workspace ? Alex
|
|
||||||
set(KDE4WORKSPACE_VERSION_MAJOR @KDE_VERSION_MAJOR@)
|
|
||||||
set(KDE4WORKSPACE_VERSION_MINOR @KDE_VERSION_MINOR@)
|
|
||||||
set(KDE4WORKSPACE_VERSION_PATCH @KDE_VERSION_RELEASE@)
|
|
||||||
set(KDE4WORKSPACE_VERSION "${KDE4WORKSPACE_VERSION_MAJOR}.${KDE4WORKSPACE_VERSION_MINOR}.${KDE4WORKSPACE_VERSION_PATCH}")
|
|
|
@ -93,7 +93,7 @@ generate_export_header(dolphinprivate)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS dolphinprivate
|
TARGETS dolphinprivate
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
|
@ -213,7 +213,7 @@ target_link_libraries(dolphin
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS dolphin
|
TARGETS dolphin
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
|
|
|
@ -171,7 +171,7 @@ generate_export_header(katepartinterfaces)
|
||||||
# install kate part interfaces
|
# install kate part interfaces
|
||||||
install(
|
install(
|
||||||
TARGETS katepartinterfaces
|
TARGETS katepartinterfaces
|
||||||
EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
# kate part itself just is interfaces + the factory
|
# kate part itself just is interfaces + the factory
|
||||||
|
|
|
@ -26,8 +26,6 @@ set(kateinterfaces_LIB_SRCS
|
||||||
katequickopen.cpp
|
katequickopen.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
add_library(kateinterfaces SHARED ${kateinterfaces_LIB_SRCS})
|
add_library(kateinterfaces SHARED ${kateinterfaces_LIB_SRCS})
|
||||||
|
|
||||||
target_link_libraries(kateinterfaces PUBLIC
|
target_link_libraries(kateinterfaces PUBLIC
|
||||||
|
@ -54,14 +52,16 @@ target_link_libraries(kate
|
||||||
generate_export_header(kateinterfaces BASE_NAME kate)
|
generate_export_header(kateinterfaces BASE_NAME kate)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS
|
TARGETS kateinterfaces
|
||||||
kateinterfaces
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
kate
|
)
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
|
||||||
|
install(
|
||||||
|
TARGETS kate
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/kate_export.h
|
FILES ${CMAKE_CURRENT_BINARY_DIR}/kate_export.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}
|
||||||
COMPONENT Devel
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -8,5 +8,4 @@ install(
|
||||||
pluginconfigpageinterface.h
|
pluginconfigpageinterface.h
|
||||||
pluginmanager.h
|
pluginmanager.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/kate
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/kate
|
||||||
COMPONENT Devel
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -12,7 +12,7 @@ target_link_libraries(kcminit
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kcminit
|
TARGETS kcminit
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
# write a cmake script file which creates the symlink
|
# write a cmake script file which creates the symlink
|
||||||
|
|
|
@ -9,5 +9,6 @@ target_link_libraries(kcmshell4
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kcmshell4
|
TARGETS kcmshell4
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
COMPONENT RUNTIME
|
||||||
)
|
)
|
||||||
|
|
|
@ -30,7 +30,7 @@ target_link_libraries(kaccess
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kaccess
|
TARGETS kaccess
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
|
@ -8,11 +8,10 @@ configure_file (
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/config-kcontrol-input.h
|
${CMAKE_CURRENT_BINARY_DIR}/config-kcontrol-input.h
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories( ${KDE4_INCLUDES} )
|
include_directories(${KDE4_INCLUDES})
|
||||||
|
|
||||||
|
|
||||||
if (LIBUSB_FOUND)
|
if (LIBUSB_FOUND)
|
||||||
include_directories( ${LIBUSB_INCLUDES} )
|
include_directories(${LIBUSB_INCLUDES})
|
||||||
endif (LIBUSB_FOUND)
|
endif (LIBUSB_FOUND)
|
||||||
|
|
||||||
|
|
||||||
|
@ -51,7 +50,10 @@ if (X11_Xcursor_FOUND)
|
||||||
target_link_libraries(kapplymousetheme ${X11_Xcursor_LIB})
|
target_link_libraries(kapplymousetheme ${X11_Xcursor_LIB})
|
||||||
endif (X11_Xcursor_FOUND)
|
endif (X11_Xcursor_FOUND)
|
||||||
|
|
||||||
install(TARGETS kapplymousetheme ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kapplymousetheme
|
||||||
|
DESTINATION ${KDE_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
|
|
@ -59,7 +59,8 @@ target_link_libraries(krandrtray
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS krandrtray ${INSTALL_TARGETS_DEFAULT_ARGS}
|
TARGETS krandrtray
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
|
|
@ -4,5 +4,5 @@ target_link_libraries(kde4-menu ${KDE4_KDECORE_LIBS})
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kde4-menu
|
TARGETS kde4-menu
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
|
@ -21,7 +21,7 @@ target_link_libraries(kdepasswd
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kdepasswd
|
TARGETS kdepasswd
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
install(
|
install(
|
||||||
PROGRAMS kdepasswd.desktop
|
PROGRAMS kdepasswd.desktop
|
||||||
|
|
|
@ -32,5 +32,5 @@ target_link_libraries(kdesudo
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kdesudo
|
TARGETS kdesudo
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
|
@ -27,7 +27,7 @@ endif()
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kdialog
|
TARGETS kdialog
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
install(
|
install(
|
||||||
FILES org.kde.kdialog.ProgressDialog.xml
|
FILES org.kde.kdialog.ProgressDialog.xml
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
set(kdontchangethehostname_SRCS khostname.cpp )
|
set(kdontchangethehostname_SRCS khostname.cpp )
|
||||||
|
|
||||||
add_executable(kdontchangethehostname ${kdontchangethehostname_SRCS})
|
add_executable(kdontchangethehostname ${kdontchangethehostname_SRCS})
|
||||||
target_link_libraries(kdontchangethehostname ${KDE4_KDECORE_LIBS})
|
target_link_libraries(kdontchangethehostname ${KDE4_KDECORE_LIBS})
|
||||||
install(TARGETS kdontchangethehostname DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR})
|
|
||||||
|
install(
|
||||||
|
TARGETS kdontchangethehostname
|
||||||
|
DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
|
@ -10,10 +10,9 @@ target_link_libraries(kbookmarkmerger ${KDE4_KIO_LIBS})
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kbookmarkmerger
|
TARGETS kbookmarkmerger
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
|
||||||
set(keditbookmarks_SRCS
|
set(keditbookmarks_SRCS
|
||||||
|
@ -58,7 +57,7 @@ target_link_libraries(keditbookmarks
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS keditbookmarks
|
TARGETS keditbookmarks
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
|
@ -25,5 +25,5 @@ generate_export_header(kbookmarkmodel_private BASE_NAME KBOOKMARKMODEL)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kbookmarkmodel_private
|
TARGETS kbookmarkmodel_private
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
|
@ -21,7 +21,10 @@ kde4_add_plugin(kcm_filetypes ${kcm_filetypes_SRCS})
|
||||||
|
|
||||||
target_link_libraries(kcm_filetypes ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
|
target_link_libraries(kcm_filetypes ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
|
||||||
|
|
||||||
install(TARGETS kcm_filetypes DESTINATION ${KDE4_PLUGIN_INSTALL_DIR} )
|
install(
|
||||||
|
TARGETS kcm_filetypes
|
||||||
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
|
||||||
|
@ -29,13 +32,19 @@ set(keditfiletype_SRCS keditfiletype.cpp ${libfiletypes_SRCS})
|
||||||
|
|
||||||
add_executable(keditfiletype ${keditfiletype_SRCS})
|
add_executable(keditfiletype ${keditfiletype_SRCS})
|
||||||
|
|
||||||
target_link_libraries(keditfiletype ${KDE4_KIO_LIBS})
|
target_link_libraries(keditfiletype
|
||||||
if (Q_WS_X11)
|
${KDE4_KIO_LIBS}
|
||||||
target_link_libraries(keditfiletype ${X11_X11_LIB})
|
${X11_X11_LIB}
|
||||||
endif (Q_WS_X11)
|
)
|
||||||
|
|
||||||
install(TARGETS keditfiletype ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS keditfiletype
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
install( FILES filetypes.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR} )
|
install(
|
||||||
|
FILES filetypes.desktop
|
||||||
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -5,5 +5,6 @@ add_executable(kfile4 ${kfile_SRCS})
|
||||||
target_link_libraries(kfile4 ${KDE4_KIO_LIBS})
|
target_link_libraries(kfile4 ${KDE4_KIO_LIBS})
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kfile4 ${INSTALL_TARGETS_DEFAULT_ARGS}
|
TARGETS kfile4
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
|
@ -22,7 +22,7 @@ target_link_libraries(kfind
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kfind
|
TARGETS kfind
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
|
@ -17,21 +17,31 @@ set(kglobalaccel_SRCS
|
||||||
globalshortcut.cpp
|
globalshortcut.cpp
|
||||||
globalshortcutsregistry.cpp
|
globalshortcutsregistry.cpp
|
||||||
globalshortcutcontext.cpp
|
globalshortcutcontext.cpp
|
||||||
|
kglobalaccel_x11.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
if(Q_WS_X11)
|
|
||||||
set(kglobalaccel_SRCS ${kglobalaccel_SRCS} kglobalaccel_x11.cpp)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_executable(kglobalaccel ${kglobalaccel_SRCS})
|
add_executable(kglobalaccel ${kglobalaccel_SRCS})
|
||||||
|
|
||||||
target_link_libraries(kglobalaccel ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${X11_LIBRARIES})
|
target_link_libraries(kglobalaccel
|
||||||
|
${KDE4_KDEUI_LIBS}
|
||||||
|
${KDE4_KIO_LIBS}
|
||||||
|
${X11_LIBRARIES}
|
||||||
|
)
|
||||||
|
|
||||||
# Install application and configuration
|
# Install application and configuration
|
||||||
install( TARGETS kglobalaccel ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
install(
|
||||||
# install( FILES kglobalaccel.desktop DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR})
|
TARGETS kglobalaccel
|
||||||
install( FILES kglobalaccel.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
# install(FILES kglobalaccel.desktop DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR})
|
||||||
|
install(
|
||||||
|
FILES kglobalaccel.desktop
|
||||||
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
||||||
|
)
|
||||||
# KNotify configuration
|
# KNotify configuration
|
||||||
install( FILES kglobalaccel.notifyrc DESTINATION ${KDE4_DATA_INSTALL_DIR}/kglobalaccel)
|
install(
|
||||||
|
FILES kglobalaccel.notifyrc
|
||||||
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/kglobalaccel
|
||||||
|
)
|
||||||
|
|
||||||
kde4_add_dbus_service(org.kde.kglobalaccel.service.in)
|
kde4_add_dbus_service(org.kde.kglobalaccel.service.in)
|
||||||
|
|
|
@ -7,21 +7,29 @@ set(kded_khotkeys_PART_SRCS
|
||||||
qt4_generate_dbus_interface(kded.h org.kde.khotkeys.xml )
|
qt4_generate_dbus_interface(kded.h org.kde.khotkeys.xml )
|
||||||
|
|
||||||
kde4_add_plugin(kded_khotkeys ${kded_khotkeys_PART_SRCS})
|
kde4_add_plugin(kded_khotkeys ${kded_khotkeys_PART_SRCS})
|
||||||
target_link_libraries(kded_khotkeys khotkeysprivate kworkspace ${KDE4_KDEUI_LIBS})
|
target_link_libraries(kded_khotkeys
|
||||||
|
${KDE4_KDEUI_LIBS}
|
||||||
# I'm not sure if this is needed anymore. Check it
|
# I'm not sure if this is needed anymore. Check it
|
||||||
if(X11_XTest_FOUND)
|
${X11_XTest_LIB}
|
||||||
target_link_libraries(kded_khotkeys ${X11_XTest_LIB})
|
khotkeysprivate
|
||||||
endif(X11_XTest_FOUND)
|
kworkspace
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
install(TARGETS kded_khotkeys DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
install(
|
||||||
|
TARGETS kded_khotkeys
|
||||||
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
install(FILES khotkeys.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR}/kded)
|
install(
|
||||||
|
FILES khotkeys.desktop
|
||||||
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}/kded
|
||||||
|
)
|
||||||
|
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.khotkeys.xml
|
install(
|
||||||
DESTINATION ${KDE4_DBUS_INTERFACES_INSTALL_DIR})
|
FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.khotkeys.xml
|
||||||
|
DESTINATION ${KDE4_DBUS_INTERFACES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -60,35 +60,31 @@ set(
|
||||||
|
|
||||||
# ACTION_DATA WIDGETS
|
# ACTION_DATA WIDGETS
|
||||||
hotkeys_widget_base.ui
|
hotkeys_widget_base.ui
|
||||||
)
|
)
|
||||||
|
|
||||||
qt4_add_dbus_interface(
|
qt4_add_dbus_interface(
|
||||||
kcm_hotkeys_PART_SRCS
|
kcm_hotkeys_PART_SRCS
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/../app/org.kde.khotkeys.xml
|
${CMAKE_CURRENT_BINARY_DIR}/../app/org.kde.khotkeys.xml
|
||||||
khotkeys_interface)
|
khotkeys_interface
|
||||||
|
)
|
||||||
|
|
||||||
|
kde4_add_plugin(kcm_hotkeys ${kcm_hotkeys_PART_SRCS})
|
||||||
kde4_add_plugin(
|
|
||||||
kcm_hotkeys
|
|
||||||
${kcm_hotkeys_PART_SRCS}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_dependencies(kcm_hotkeys kded_khotkeys)
|
add_dependencies(kcm_hotkeys kded_khotkeys)
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(kcm_hotkeys
|
||||||
kcm_hotkeys
|
|
||||||
khotkeysprivate
|
|
||||||
${KDE4_KIO_LIBS}
|
${KDE4_KIO_LIBS}
|
||||||
${QT_QTGUI_LIBRARY}
|
${QT_QTGUI_LIBRARY}
|
||||||
${X11_X11_LIB}
|
${X11_X11_LIB}
|
||||||
)
|
khotkeysprivate
|
||||||
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kcm_hotkeys
|
TARGETS kcm_hotkeys
|
||||||
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
FILES khotkeys.desktop
|
FILES khotkeys.desktop
|
||||||
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
|
@ -62,10 +62,21 @@ set(khotkeysprivate_SRCS
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(khotkeysprivate SHARED ${khotkeysprivate_SRCS})
|
add_library(khotkeysprivate SHARED ${khotkeysprivate_SRCS})
|
||||||
target_link_libraries(khotkeysprivate kworkspace ${KDE4_KIO_LIBS} ${X11_LIBRARIES})
|
target_link_libraries(khotkeysprivate
|
||||||
|
${KDE4_KIO_LIBS}
|
||||||
|
${X11_LIBRARIES}
|
||||||
|
kworkspace
|
||||||
|
)
|
||||||
if(X11_XTest_FOUND)
|
if(X11_XTest_FOUND)
|
||||||
target_link_libraries(khotkeysprivate ${X11_XTest_LIB})
|
target_link_libraries(khotkeysprivate ${X11_XTest_LIB})
|
||||||
endif(X11_XTest_FOUND)
|
endif(X11_XTest_FOUND)
|
||||||
set_target_properties(khotkeysprivate PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
|
set_target_properties(khotkeysprivate PROPERTIES
|
||||||
install(TARGETS khotkeysprivate ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|
VERSION ${GENERIC_LIB_VERSION}
|
||||||
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
TARGETS khotkeysprivate
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
|
LIBRARY NAMELINK_SKIP
|
||||||
|
)
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,7 @@ add_executable(kiconfinder kiconfinder.cpp)
|
||||||
|
|
||||||
target_link_libraries(kiconfinder ${KDE4_KDEUI_LIBS})
|
target_link_libraries(kiconfinder ${KDE4_KDEUI_LIBS})
|
||||||
|
|
||||||
install(TARGETS kiconfinder ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
install(
|
||||||
|
TARGETS kiconfinder
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -46,12 +46,23 @@ set( kinfocenter_SRCS
|
||||||
ToolTips/tooltipmanager.cpp
|
ToolTips/tooltipmanager.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable( kinfocenter ${kinfocenter_SRCS} )
|
add_executable(kinfocenter ${kinfocenter_SRCS} )
|
||||||
|
|
||||||
target_link_libraries( kinfocenter ${KDE4_KFILE_LIBS} ${KDE4_KCMUTILS_LIBS} )
|
target_link_libraries(kinfocenter
|
||||||
|
${KDE4_KFILE_LIBS}
|
||||||
|
${KDE4_KCMUTILS_LIBS}
|
||||||
|
)
|
||||||
|
|
||||||
##install
|
##install
|
||||||
|
install(
|
||||||
install( TARGETS kinfocenter ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
TARGETS kinfocenter
|
||||||
install( PROGRAMS kinfocenter.desktop DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR} )
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
INSTALL( FILES kinfocenterui.rc DESTINATION ${KDE4_DATA_INSTALL_DIR}/kinfocenter )
|
)
|
||||||
|
install(
|
||||||
|
PROGRAMS kinfocenter.desktop
|
||||||
|
DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
INSTALL(
|
||||||
|
FILES kinfocenterui.rc
|
||||||
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/kinfocenter
|
||||||
|
)
|
||||||
|
|
|
@ -4,7 +4,10 @@ set(kioclient_SRCS kioclient.cpp )
|
||||||
add_executable(kioclient ${kioclient_SRCS})
|
add_executable(kioclient ${kioclient_SRCS})
|
||||||
target_compile_definitions(kioclient PRIVATE -DKIOCLIENT_AS_KIOCLIENT)
|
target_compile_definitions(kioclient PRIVATE -DKIOCLIENT_AS_KIOCLIENT)
|
||||||
target_link_libraries(kioclient ${KDE4_KIO_LIBS})
|
target_link_libraries(kioclient ${KDE4_KIO_LIBS})
|
||||||
install(TARGETS kioclient ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kioclient
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
################
|
################
|
||||||
|
|
||||||
|
@ -12,7 +15,10 @@ set(kde-open_SRCS kioclient.cpp )
|
||||||
add_executable(kde-open ${kde-open_SRCS})
|
add_executable(kde-open ${kde-open_SRCS})
|
||||||
target_compile_definitions(kde-open PRIVATE -DKIOCLIENT_AS_KDEOPEN)
|
target_compile_definitions(kde-open PRIVATE -DKIOCLIENT_AS_KDEOPEN)
|
||||||
target_link_libraries(kde-open ${KDE4_KIO_LIBS})
|
target_link_libraries(kde-open ${KDE4_KIO_LIBS})
|
||||||
install(TARGETS kde-open ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kde-open
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
################
|
################
|
||||||
|
|
||||||
|
@ -20,7 +26,10 @@ set(kde-cp_SRCS kioclient.cpp )
|
||||||
add_executable(kde-cp ${kde-cp_SRCS})
|
add_executable(kde-cp ${kde-cp_SRCS})
|
||||||
target_compile_definitions(kde-cp PRIVATE -DKIOCLIENT_AS_KDECP)
|
target_compile_definitions(kde-cp PRIVATE -DKIOCLIENT_AS_KDECP)
|
||||||
target_link_libraries(kde-cp ${KDE4_KIO_LIBS})
|
target_link_libraries(kde-cp ${KDE4_KIO_LIBS})
|
||||||
install(TARGETS kde-cp ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kde-cp
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
################
|
################
|
||||||
|
|
||||||
|
@ -28,5 +37,8 @@ set(kde-mv_SRCS kioclient.cpp )
|
||||||
add_executable(kde-mv ${kde-mv_SRCS})
|
add_executable(kde-mv ${kde-mv_SRCS})
|
||||||
target_compile_definitions(kde-mv PRIVATE -DKIOCLIENT_AS_KDEMV)
|
target_compile_definitions(kde-mv PRIVATE -DKIOCLIENT_AS_KDEMV)
|
||||||
target_link_libraries(kde-mv ${KDE4_KIO_LIBS})
|
target_link_libraries(kde-mv ${KDE4_KIO_LIBS})
|
||||||
install(TARGETS kde-mv ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kde-mv
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,5 +4,7 @@ add_executable(kioexec ${kioexec_SRCS})
|
||||||
|
|
||||||
target_link_libraries(kioexec ${KDE4_KIO_LIBS})
|
target_link_libraries(kioexec ${KDE4_KIO_LIBS})
|
||||||
|
|
||||||
install(TARGETS kioexec DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR} )
|
install(
|
||||||
|
TARGETS kioexec
|
||||||
|
DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -16,29 +16,51 @@ set(kio_trash_PART_SRCS kio_trash.cpp ${trashcommon_PART_SRCS})
|
||||||
|
|
||||||
add_executable(kio_trash ${kio_trash_PART_SRCS})
|
add_executable(kio_trash ${kio_trash_PART_SRCS})
|
||||||
|
|
||||||
target_link_libraries(kio_trash ${KDE4_KIO_LIBS} ${KDE4_SOLID_LIBS})
|
target_link_libraries(kio_trash
|
||||||
|
${KDE4_KIO_LIBS}
|
||||||
|
${KDE4_SOLID_LIBS}
|
||||||
|
)
|
||||||
|
|
||||||
install(TARGETS kio_trash DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR} )
|
install(
|
||||||
|
TARGETS kio_trash
|
||||||
|
DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
|
||||||
set(ktrash_SRCS ktrash.cpp )
|
set(ktrash_SRCS ktrash.cpp)
|
||||||
|
|
||||||
add_executable(ktrash ${ktrash_SRCS})
|
add_executable(ktrash ${ktrash_SRCS})
|
||||||
|
|
||||||
target_link_libraries(ktrash ${KDE4_KIO_LIBS} )
|
target_link_libraries(ktrash ${KDE4_KIO_LIBS})
|
||||||
|
|
||||||
install(TARGETS ktrash ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS ktrash
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
|
||||||
set(kcm_trash_PART_SRCS kcmtrash.cpp ${trashcommon_PART_SRCS})
|
set(kcm_trash_PART_SRCS kcmtrash.cpp ${trashcommon_PART_SRCS})
|
||||||
kde4_add_plugin(kcm_trash ${kcm_trash_PART_SRCS})
|
kde4_add_plugin(kcm_trash ${kcm_trash_PART_SRCS})
|
||||||
target_link_libraries(kcm_trash ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${KDE4_SOLID_LIBS})
|
target_link_libraries(kcm_trash
|
||||||
|
${KDE4_KDEUI_LIBS}
|
||||||
|
${KDE4_KIO_LIBS}
|
||||||
|
${KDE4_SOLID_LIBS}
|
||||||
|
)
|
||||||
|
|
||||||
install(TARGETS kcm_trash DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
install(
|
||||||
|
TARGETS kcm_trash
|
||||||
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
install( FILES trash.protocol DESTINATION ${KDE4_SERVICES_INSTALL_DIR} )
|
install(
|
||||||
install( FILES kcmtrash.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR} )
|
FILES trash.protocol
|
||||||
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES kcmtrash.desktop
|
||||||
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -30,10 +30,19 @@ target_link_libraries(klipper
|
||||||
${X11_LIBRARIES}
|
${X11_LIBRARIES}
|
||||||
)
|
)
|
||||||
if (X11_Xfixes_FOUND)
|
if (X11_Xfixes_FOUND)
|
||||||
target_link_libraries(klipper ${X11_Xfixes_LIB})
|
target_link_libraries(klipper ${X11_Xfixes_LIB})
|
||||||
endif (X11_Xfixes_FOUND)
|
endif (X11_Xfixes_FOUND)
|
||||||
|
|
||||||
install(TARGETS klipper ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS klipper
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
install(PROGRAMS klipper.desktop DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR})
|
install(
|
||||||
install(PROGRAMS klipper.desktop DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR})
|
PROGRAMS klipper.desktop
|
||||||
|
DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
PROGRAMS klipper.desktop
|
||||||
|
DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -28,14 +28,27 @@ set(kmenuedit_SRCS main.cpp ${kmenueditcommon_STAT_SRCS})
|
||||||
|
|
||||||
add_executable(kmenuedit ${kmenuedit_SRCS})
|
add_executable(kmenuedit ${kmenuedit_SRCS})
|
||||||
|
|
||||||
target_link_libraries(kmenuedit ${KDE4_KIO_LIBS} ${QT_QTXML_LIBRARY} ${QT_QTDBUS_LIBRARY})
|
target_link_libraries(kmenuedit
|
||||||
|
${KDE4_KIO_LIBS}
|
||||||
|
${QT_QTXML_LIBRARY}
|
||||||
|
${QT_QTDBUS_LIBRARY}
|
||||||
|
)
|
||||||
|
|
||||||
install(TARGETS kmenuedit ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kmenuedit
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
install(PROGRAMS kmenuedit.desktop DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR})
|
install(
|
||||||
install(FILES kmenueditui.rc DESTINATION ${KDE4_DATA_INSTALL_DIR}/kmenuedit)
|
PROGRAMS kmenuedit.desktop
|
||||||
|
DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES kmenueditui.rc
|
||||||
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/kmenuedit
|
||||||
|
)
|
||||||
|
|
||||||
add_dependencies(kmenuedit kded_khotkeys)
|
add_dependencies(kmenuedit kded_khotkeys)
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,7 @@ add_executable(kmimetypefinder kmimetypefinder.cpp)
|
||||||
|
|
||||||
target_link_libraries(kmimetypefinder ${KDE4_KDECORE_LIBS})
|
target_link_libraries(kmimetypefinder ${KDE4_KDECORE_LIBS})
|
||||||
|
|
||||||
install(TARGETS kmimetypefinder ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
install(
|
||||||
|
TARGETS kmimetypefinder
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -4,12 +4,17 @@ add_executable(knetattach ${knetattach_SRCS})
|
||||||
|
|
||||||
target_link_libraries(knetattach ${KDE4_KIO_LIBS})
|
target_link_libraries(knetattach ${KDE4_KIO_LIBS})
|
||||||
|
|
||||||
install(TARGETS knetattach DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR})
|
install(
|
||||||
|
TARGETS knetattach
|
||||||
|
DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
install(PROGRAMS knetattach.desktop DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR})
|
install(
|
||||||
|
PROGRAMS knetattach.desktop
|
||||||
|
DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
kde4_install_icons(${KDE4_ICON_INSTALL_DIR})
|
kde4_install_icons(${KDE4_ICON_INSTALL_DIR})
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,10 @@ target_link_libraries(knotify4
|
||||||
${KDE4_KMEDIAPLAYER_LIBS}
|
${KDE4_KMEDIAPLAYER_LIBS}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS knotify4 ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS knotify4
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
|
|
|
@ -161,8 +161,13 @@ target_link_libraries(konsole PRIVATE konsoleprivate)
|
||||||
generate_export_header(konsoleprivate)
|
generate_export_header(konsoleprivate)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS konsole konsoleprivate
|
TARGETS konsole
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
install(
|
||||||
|
TARGETS konsoleprivate
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
### Embedded Konsole KPart
|
### Embedded Konsole KPart
|
||||||
|
|
|
@ -3,4 +3,7 @@ set(kquitapp_SRCS kquitapp.cpp)
|
||||||
add_executable(kquitapp ${kquitapp_SRCS})
|
add_executable(kquitapp ${kquitapp_SRCS})
|
||||||
target_link_libraries(kquitapp ${KDE4_KDECORE_LIBS})
|
target_link_libraries(kquitapp ${KDE4_KDECORE_LIBS})
|
||||||
|
|
||||||
install(TARGETS kquitapp ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kquitapp
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -4,17 +4,21 @@ set(kreadconfig_SRCS kreadconfig.cpp )
|
||||||
|
|
||||||
add_executable(kreadconfig ${kreadconfig_SRCS})
|
add_executable(kreadconfig ${kreadconfig_SRCS})
|
||||||
|
|
||||||
target_link_libraries(kreadconfig ${KDE4_KDECORE_LIBS} )
|
target_link_libraries(kreadconfig ${KDE4_KDECORE_LIBS})
|
||||||
|
|
||||||
install(TARGETS kreadconfig ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
||||||
|
|
||||||
|
install(
|
||||||
|
TARGETS kreadconfig
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
|
||||||
set(kwriteconfig_SRCS kwriteconfig.cpp )
|
set(kwriteconfig_SRCS kwriteconfig.cpp )
|
||||||
|
|
||||||
add_executable(kwriteconfig ${kwriteconfig_SRCS})
|
add_executable(kwriteconfig ${kwriteconfig_SRCS})
|
||||||
|
target_link_libraries(kwriteconfig ${KDE4_KDECORE_LIBS})
|
||||||
|
|
||||||
target_link_libraries(kwriteconfig ${KDE4_KDECORE_LIBS} )
|
install(
|
||||||
|
TARGETS kwriteconfig
|
||||||
install(TARGETS kwriteconfig ${INSTALL_TARGETS_DEFAULT_ARGS})
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -55,21 +55,30 @@ set(krunner_SRCS
|
||||||
add_executable(krunner ${krunner_SRCS})
|
add_executable(krunner ${krunner_SRCS})
|
||||||
|
|
||||||
target_link_libraries(krunner
|
target_link_libraries(krunner
|
||||||
kworkspace
|
|
||||||
plasmagenericshell
|
|
||||||
processui
|
|
||||||
${KDE4_PLASMA_LIBS}
|
${KDE4_PLASMA_LIBS}
|
||||||
${KDE4_SOLID_LIBRARIES}
|
${KDE4_SOLID_LIBRARIES}
|
||||||
${KDE4_KDEUI_LIBS}
|
${KDE4_KDEUI_LIBS}
|
||||||
${KDE4_KCMUTILS_LIBS}
|
${KDE4_KCMUTILS_LIBS}
|
||||||
${X11_X11_LIB}
|
${X11_X11_LIB}
|
||||||
|
kworkspace
|
||||||
|
plasmagenericshell
|
||||||
|
processui
|
||||||
)
|
)
|
||||||
|
|
||||||
if(X11_Xcursor_FOUND)
|
if(X11_Xcursor_FOUND)
|
||||||
target_link_libraries(krunner ${X11_Xcursor_LIB})
|
target_link_libraries(krunner ${X11_Xcursor_LIB})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(TARGETS krunner ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
install(
|
||||||
|
TARGETS krunner
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
install(FILES krunner.desktop DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR})
|
install(
|
||||||
install(FILES ${krunner_dbusAppXML} DESTINATION ${KDE4_DBUS_INTERFACES_INSTALL_DIR} )
|
FILES krunner.desktop
|
||||||
|
DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES ${krunner_dbusAppXML}
|
||||||
|
DESTINATION ${KDE4_DBUS_INTERFACES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -21,13 +21,13 @@ configure_file(config-ksmserver.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ksmse
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
|
||||||
set(ksmserver_SRCS
|
set(ksmserver_SRCS
|
||||||
main.cpp
|
main.cpp
|
||||||
server.cpp
|
server.cpp
|
||||||
shutdowndlg.cpp
|
shutdowndlg.cpp
|
||||||
legacy.cpp
|
legacy.cpp
|
||||||
startup.cpp
|
startup.cpp
|
||||||
shutdown.cpp
|
shutdown.cpp
|
||||||
client.cpp
|
client.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set(kcminit_adaptor ${CMAKE_SOURCE_DIR}/kcminit/main.h)
|
set(kcminit_adaptor ${CMAKE_SOURCE_DIR}/kcminit/main.h)
|
||||||
|
@ -44,9 +44,9 @@ qt4_add_dbus_interface( ksmserver_SRCS ${kcminit_xml} kcminit_interface )
|
||||||
# set(klauncher_xml ${KDE4_DBUS_INTERFACES_INSTALL_DIR}/org.kde.KLauncher.xml)
|
# set(klauncher_xml ${KDE4_DBUS_INTERFACES_INSTALL_DIR}/org.kde.KLauncher.xml)
|
||||||
# qt4_add_dbus_interface( ksmserver_SRCS ${klauncher_xml} klauncher_interface )
|
# qt4_add_dbus_interface( ksmserver_SRCS ${klauncher_xml} klauncher_interface )
|
||||||
|
|
||||||
qt4_add_dbus_adaptor( ksmserver_SRCS org.kde.KSMServerInterface.xml server.h KSMServer )
|
qt4_add_dbus_adaptor(ksmserver_SRCS org.kde.KSMServerInterface.xml server.h KSMServer)
|
||||||
|
|
||||||
add_executable( ksmserver ${ksmserver_SRCS})
|
add_executable(ksmserver ${ksmserver_SRCS})
|
||||||
|
|
||||||
target_link_libraries(ksmserver
|
target_link_libraries(ksmserver
|
||||||
${KDE4_PLASMA_LIBS}
|
${KDE4_PLASMA_LIBS}
|
||||||
|
@ -59,20 +59,32 @@ target_link_libraries(ksmserver
|
||||||
kworkspace
|
kworkspace
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS ksmserver ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS ksmserver
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
|
||||||
set(kcheckrunning_SRCS
|
set(kcheckrunning_SRCS
|
||||||
kcheckrunning.cpp)
|
kcheckrunning.cpp
|
||||||
|
)
|
||||||
add_executable( kcheckrunning ${kcheckrunning_SRCS})
|
|
||||||
|
|
||||||
|
add_executable(kcheckrunning ${kcheckrunning_SRCS})
|
||||||
target_link_libraries(kcheckrunning ${X11_LIBRARIES})
|
target_link_libraries(kcheckrunning ${X11_LIBRARIES})
|
||||||
|
|
||||||
install(TARGETS kcheckrunning ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kcheckrunning
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
install( FILES org.kde.KSMServerInterface.xml DESTINATION ${KDE4_DBUS_INTERFACES_INSTALL_DIR})
|
install(
|
||||||
install( DIRECTORY themes/ DESTINATION ${KDE4_DATA_INSTALL_DIR}/ksmserver/themes )
|
FILES org.kde.KSMServerInterface.xml
|
||||||
|
DESTINATION ${KDE4_DBUS_INTERFACES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
DIRECTORY themes/
|
||||||
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/ksmserver/themes
|
||||||
|
)
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
|
|
||||||
set(kstart_SRCS kstart.cpp)
|
set(kstart_SRCS kstart.cpp)
|
||||||
|
|
||||||
|
|
||||||
add_executable(kstart ${kstart_SRCS})
|
add_executable(kstart ${kstart_SRCS})
|
||||||
|
|
||||||
target_link_libraries(kstart ${KDE4_KDEUI_LIBS} ${X11_X11_LIB})
|
target_link_libraries(kstart
|
||||||
|
${KDE4_KDEUI_LIBS}
|
||||||
|
${X11_X11_LIB}
|
||||||
|
)
|
||||||
|
|
||||||
install(TARGETS kstart ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kstart
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
include_directories( ${KDE4_KDEUI_INCLUDES} ${CMAKE_SOURCE_DIR}/libs/oxygen)
|
include_directories(
|
||||||
|
${KDE4_KDEUI_INCLUDES}
|
||||||
|
${CMAKE_SOURCE_DIR}/libs/oxygen
|
||||||
|
)
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
set(kstyle_oxygen_config_PART_SRCS
|
set(kstyle_oxygen_config_PART_SRCS
|
||||||
|
@ -10,21 +13,23 @@ kde4_add_kcfg_files(kstyle_oxygen_config_PART_SRCS ../oxygenstyleconfigdata.kcfg
|
||||||
|
|
||||||
kde4_add_plugin(kstyle_oxygen_config ${kstyle_oxygen_config_PART_SRCS})
|
kde4_add_plugin(kstyle_oxygen_config ${kstyle_oxygen_config_PART_SRCS})
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(kstyle_oxygen_config
|
||||||
kstyle_oxygen_config
|
|
||||||
${KDE4_KDEUI_LIBS}
|
${KDE4_KDEUI_LIBS}
|
||||||
oxygenstyleconfig )
|
oxygenstyleconfig
|
||||||
|
)
|
||||||
|
|
||||||
install(TARGETS kstyle_oxygen_config DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
install(
|
||||||
|
TARGETS kstyle_oxygen_config
|
||||||
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
set( oxygen_settings_SOURCES
|
set(oxygen_settings_SOURCES
|
||||||
oxygenconfigdialog.cpp
|
oxygenconfigdialog.cpp
|
||||||
main.cpp
|
main.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable(oxygen-settings ${oxygen_settings_SOURCES})
|
add_executable(oxygen-settings ${oxygen_settings_SOURCES})
|
||||||
|
|
||||||
target_link_libraries(oxygen-settings
|
target_link_libraries(oxygen-settings
|
||||||
${KDE4_KDEUI_LIBS}
|
${KDE4_KDEUI_LIBS}
|
||||||
${QT_QTCORE_LIBRARY}
|
${QT_QTCORE_LIBRARY}
|
||||||
|
@ -32,7 +37,10 @@ target_link_libraries(oxygen-settings
|
||||||
)
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
install(TARGETS oxygen-settings ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS oxygen-settings
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,11 +25,14 @@ set(oxygen_demo_SOURCES
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable(oxygen-demo ${oxygen_demo_SOURCES})
|
add_executable(oxygen-demo ${oxygen_demo_SOURCES})
|
||||||
|
|
||||||
target_link_libraries(oxygen-demo
|
target_link_libraries(oxygen-demo
|
||||||
${KDE4_KDEUI_LIBS}
|
${KDE4_KDEUI_LIBS}
|
||||||
${QT_QTCORE_LIBRARY}
|
${QT_QTCORE_LIBRARY}
|
||||||
${QT_QTGUI_LIBRARY})
|
${QT_QTGUI_LIBRARY}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
install(TARGETS oxygen-demo ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS oxygen-demo
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -8,7 +8,8 @@ include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/libs
|
${CMAKE_SOURCE_DIR}/libs
|
||||||
${CMAKE_SOURCE_DIR}/libs/ksysguard
|
${CMAKE_SOURCE_DIR}/libs/ksysguard
|
||||||
${CMAKE_SOURCE_DIR}/libs/ksysguard/signalplotter
|
${CMAKE_SOURCE_DIR}/libs/ksysguard/signalplotter
|
||||||
${CMAKE_SOURCE_DIR}/libs/ksysguard/processcore )
|
${CMAKE_SOURCE_DIR}/libs/ksysguard/processcore
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
@ -48,19 +49,34 @@ set(ksysguard_SRCS ${libsensordisplays_SRCS}
|
||||||
Workspace.cpp
|
Workspace.cpp
|
||||||
HostConnector.cpp
|
HostConnector.cpp
|
||||||
StyleEngine.cpp
|
StyleEngine.cpp
|
||||||
ksysguard.cpp )
|
ksysguard.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
add_executable(ksysguard ${ksysguard_SRCS})
|
add_executable(ksysguard ${ksysguard_SRCS})
|
||||||
|
target_link_libraries(ksysguard
|
||||||
|
${KDE4_KIO_LIBS}
|
||||||
|
processui ksignalplotter
|
||||||
|
ksgrd
|
||||||
|
)
|
||||||
|
|
||||||
target_link_libraries(ksysguard processui ksignalplotter ${KDE4_KIO_LIBS} ksgrd)
|
install(
|
||||||
|
TARGETS ksysguard
|
||||||
install(TARGETS ksysguard ${INSTALL_TARGETS_DEFAULT_ARGS})
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
install( PROGRAMS ksysguard.desktop DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR} )
|
install(
|
||||||
install( FILES ProcessTable.sgrd SystemLoad2.sgrd DESTINATION ${KDE4_DATA_INSTALL_DIR}/ksysguard )
|
PROGRAMS ksysguard.desktop
|
||||||
install( FILES ksysguardui.rc DESTINATION ${KDE4_DATA_INSTALL_DIR}/ksysguard )
|
DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES
|
||||||
|
ProcessTable.sgrd SystemLoad2.sgrd
|
||||||
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/ksysguard
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES ksysguardui.rc
|
||||||
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/ksysguard
|
||||||
|
)
|
||||||
|
|
||||||
|
|
|
@ -49,5 +49,6 @@ if(CMAKE_SYSTEM_NAME MATCHES "DragonFly")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS ksysguardd ${INSTALL_TARGETS_DEFAULT_ARGS}
|
TARGETS ksysguardd
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
set(ksystraycmd_SRCS ksystraycmd.cpp main.cpp )
|
set(ksystraycmd_SRCS ksystraycmd.cpp main.cpp )
|
||||||
|
|
||||||
|
|
||||||
add_executable(ksystraycmd ${ksystraycmd_SRCS})
|
add_executable(ksystraycmd ${ksystraycmd_SRCS})
|
||||||
|
target_link_libraries(ksystraycmd
|
||||||
|
${KDE4_KDEUI_LIBS}
|
||||||
|
${X11_X11_LIB}
|
||||||
|
)
|
||||||
|
|
||||||
target_link_libraries(ksystraycmd ${KDE4_KDEUI_LIBS})
|
install(
|
||||||
if (Q_WS_X11)
|
TARGETS ksystraycmd
|
||||||
target_link_libraries(ksystraycmd ${X11_X11_LIB})
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
endif (Q_WS_X11)
|
)
|
||||||
|
|
||||||
install(TARGETS ksystraycmd ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
add_executable(ktraderclient ktraderclient.cpp)
|
add_executable(ktraderclient ktraderclient.cpp)
|
||||||
|
|
||||||
target_link_libraries(ktraderclient ${KDE4_KDECORE_LIBS})
|
target_link_libraries(ktraderclient ${KDE4_KDECORE_LIBS})
|
||||||
|
|
||||||
install(TARGETS ktraderclient ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
install(
|
||||||
|
TARGETS ktraderclient
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -44,7 +44,8 @@ add_executable(kuiserver ${kuiserver_SRCS})
|
||||||
target_link_libraries(kuiserver ${KDE4_KIO_LIBS})
|
target_link_libraries(kuiserver ${KDE4_KIO_LIBS})
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kuiserver ${INSTALL_TARGETS_DEFAULT_ARGS}
|
TARGETS kuiserver
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
|
|
|
@ -195,13 +195,25 @@ if(X11_xf86vmode_FOUND)
|
||||||
target_link_libraries(kwin ${X11_Xxf86vm_LIB})
|
target_link_libraries(kwin ${X11_Xxf86vm_LIB})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(TARGETS kwin ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kwin
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
install(FILES kwin.kcfg DESTINATION ${KDE4_KCFG_INSTALL_DIR})
|
install(
|
||||||
install(FILES kwin.notifyrc DESTINATION ${KDE4_DATA_INSTALL_DIR}/kwin)
|
FILES kwin.kcfg
|
||||||
install(FILES org.kde.KWin.xml DESTINATION ${KDE4_DBUS_INTERFACES_INSTALL_DIR})
|
DESTINATION ${KDE4_KCFG_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES kwin.notifyrc
|
||||||
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/kwin
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES org.kde.KWin.xml
|
||||||
|
DESTINATION ${KDE4_DBUS_INTERFACES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
kde4_install_icons(${KDE4_ICON_INSTALL_DIR})
|
kde4_install_icons(${KDE4_ICON_INSTALL_DIR})
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,13 @@ target_link_libraries(kwin3_oxygen
|
||||||
oxygenstyle
|
oxygenstyle
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS kwin3_oxygen DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
install(
|
||||||
|
TARGETS kwin3_oxygen
|
||||||
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
install(FILES oxygenclient.desktop DESTINATION ${KDE4_DATA_INSTALL_DIR}/kwin)
|
install(
|
||||||
|
FILES oxygenclient.desktop
|
||||||
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/kwin
|
||||||
|
)
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
include_directories( ${CMAKE_SOURCE_DIR}/libs/oxygen)
|
include_directories(
|
||||||
|
${CMAKE_SOURCE_DIR}/libs/oxygen
|
||||||
|
)
|
||||||
|
|
||||||
set(kwin_oxygen_config_PART_SRCS
|
set(kwin_oxygen_config_PART_SRCS
|
||||||
oxygenconfig.cpp
|
oxygenconfig.cpp
|
||||||
|
@ -10,7 +12,7 @@ set(kwin_oxygen_config_PART_SRCS
|
||||||
../oxygenexceptionlist.cpp
|
../oxygenexceptionlist.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
kde4_add_kcfg_files(kwin_oxygen_config_PART_SRCS ../oxygenconfiguration.kcfgc )
|
kde4_add_kcfg_files(kwin_oxygen_config_PART_SRCS ../oxygenconfiguration.kcfgc)
|
||||||
|
|
||||||
kde4_add_plugin(kwin_oxygen_config ${kwin_oxygen_config_PART_SRCS})
|
kde4_add_plugin(kwin_oxygen_config ${kwin_oxygen_config_PART_SRCS})
|
||||||
|
|
||||||
|
@ -22,4 +24,7 @@ target_link_libraries(kwin_oxygen_config
|
||||||
oxygenstyleconfig
|
oxygenstyleconfig
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS kwin_oxygen_config DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
install(
|
||||||
|
TARGETS kwin_oxygen_config
|
||||||
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -21,4 +21,7 @@ target_link_libraries(oxygen-shadow-demo
|
||||||
)
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
install(TARGETS oxygen-shadow-demo ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS oxygen-shadow-demo
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -13,15 +13,21 @@ target_link_libraries(kdecorations PRIVATE ${KDE4_KDEUI_LIBS})
|
||||||
target_link_libraries(kdecorations PUBLIC ${KDE4_KDEUI_LIBS})
|
target_link_libraries(kdecorations PUBLIC ${KDE4_KDEUI_LIBS})
|
||||||
|
|
||||||
set_target_properties(kdecorations PROPERTIES
|
set_target_properties(kdecorations PROPERTIES
|
||||||
VERSION ${GENERIC_LIB_VERSION}
|
VERSION ${GENERIC_LIB_VERSION}
|
||||||
SOVERSION ${GENERIC_LIB_SOVERSION}
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
||||||
)
|
)
|
||||||
install(TARGETS kdecorations EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
install(
|
||||||
|
TARGETS kdecorations
|
||||||
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
install( FILES
|
install(
|
||||||
|
FILES
|
||||||
kdecoration.h
|
kdecoration.h
|
||||||
kdecorationfactory.h
|
kdecorationfactory.h
|
||||||
kcommondecoration.h
|
kcommondecoration.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR} COMPONENT Devel )
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -38,13 +38,22 @@ target_link_libraries(kwineffects PRIVATE
|
||||||
${kwineffects_XLIB_LIBS}
|
${kwineffects_XLIB_LIBS}
|
||||||
${kwineffects_XCB_LIBS}
|
${kwineffects_XCB_LIBS}
|
||||||
)
|
)
|
||||||
set_target_properties(kwineffects PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
|
set_target_properties(kwineffects PROPERTIES
|
||||||
|
VERSION ${GENERIC_LIB_VERSION}
|
||||||
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
||||||
|
)
|
||||||
|
|
||||||
install(TARGETS kwineffects EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kwineffects
|
||||||
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
install( FILES
|
install(
|
||||||
|
FILES
|
||||||
kwinglobals.h
|
kwinglobals.h
|
||||||
kwineffects.h
|
kwineffects.h
|
||||||
kwinanimationeffect.h
|
kwinanimationeffect.h
|
||||||
kwinxrenderutils.h
|
kwinxrenderutils.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR} COMPONENT Devel)
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -31,7 +31,11 @@ set_target_properties(konq PROPERTIES
|
||||||
SOVERSION ${GENERIC_LIB_SOVERSION}
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS konq EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS konq
|
||||||
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
|
@ -53,9 +57,9 @@ install(FILES
|
||||||
konqmimedata.h
|
konqmimedata.h
|
||||||
kversioncontrolplugin.h
|
kversioncontrolplugin.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}
|
||||||
COMPONENT Devel
|
|
||||||
)
|
)
|
||||||
install(FILES
|
install(
|
||||||
|
FILES
|
||||||
konqpopupmenuplugin.desktop
|
konqpopupmenuplugin.desktop
|
||||||
konqdndpopupmenuplugin.desktop
|
konqdndpopupmenuplugin.desktop
|
||||||
DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR}
|
DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR}
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
|
||||||
set(ksgrd_LIB_SRCS
|
set(ksgrd_LIB_SRCS
|
||||||
|
@ -12,16 +9,26 @@ set(ksgrd_LIB_SRCS
|
||||||
|
|
||||||
|
|
||||||
add_library(ksgrd SHARED ${ksgrd_LIB_SRCS})
|
add_library(ksgrd SHARED ${ksgrd_LIB_SRCS})
|
||||||
|
target_link_libraries(ksgrd
|
||||||
|
${KDE4_KDECORE_LIBS}
|
||||||
|
${QT_QTCORE_LIBRARY}
|
||||||
|
${QT_QTNETWORK_LIBRARY}
|
||||||
|
)
|
||||||
|
|
||||||
target_link_libraries(ksgrd ${KDE4_KDECORE_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY} )
|
set_target_properties(ksgrd PROPERTIES
|
||||||
|
VERSION ${GENERIC_LIB_VERSION}
|
||||||
set_target_properties(ksgrd PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
||||||
install(TARGETS ksgrd EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
)
|
||||||
|
|
||||||
|
install(
|
||||||
|
TARGETS ksgrd
|
||||||
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
install(FILES SensorAgent.h SensorClient.h SensorManager.h SensorShellAgent.h SensorSocketAgent.h DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksgrd COMPONENT Devel)
|
install(
|
||||||
|
FILES SensorAgent.h SensorClient.h SensorManager.h SensorShellAgent.h SensorSocketAgent.h
|
||||||
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksgrd
|
||||||
|
)
|
||||||
|
|
|
@ -7,15 +7,17 @@ set(lsofui_LIB_SRCS
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(lsofui SHARED ${lsofui_LIB_SRCS})
|
add_library(lsofui SHARED ${lsofui_LIB_SRCS})
|
||||||
|
target_link_libraries(lsofui ${KDE4_KIO_LIBS})
|
||||||
|
|
||||||
target_link_libraries(lsofui ${KDE4_KIO_LIBS} )
|
|
||||||
set_target_properties(lsofui PROPERTIES
|
set_target_properties(lsofui PROPERTIES
|
||||||
VERSION ${GENERIC_LIB_VERSION}
|
VERSION ${GENERIC_LIB_VERSION}
|
||||||
SOVERSION ${GENERIC_LIB_SOVERSION}
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS lsofui
|
TARGETS lsofui
|
||||||
EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
@ -23,14 +25,17 @@ install(
|
||||||
install(
|
install(
|
||||||
FILES lsof.h
|
FILES lsof.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksysguard
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksysguard
|
||||||
COMPONENT Devel
|
|
||||||
)
|
)
|
||||||
|
|
||||||
kde4_add_widget(ksysguardlsofwidgets_SRCS ksysguardlsof.widgets)
|
kde4_add_widget(ksysguardlsofwidgets_SRCS ksysguardlsof.widgets)
|
||||||
|
|
||||||
kde4_add_plugin(ksysguardlsofwidgets ${ksysguardlsofwidgets_SRCS})
|
kde4_add_plugin(ksysguardlsofwidgets ${ksysguardlsofwidgets_SRCS})
|
||||||
|
|
||||||
target_link_libraries(ksysguardlsofwidgets ${KDE4_KDECORE_LIBS} ${QT_QTGUI_LIBRARY} lsofui)
|
target_link_libraries(ksysguardlsofwidgets
|
||||||
|
${KDE4_KDECORE_LIBS}
|
||||||
|
${QT_QTGUI_LIBRARY}
|
||||||
|
lsofui
|
||||||
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS ksysguardlsofwidgets
|
TARGETS ksysguardlsofwidgets
|
||||||
|
|
|
@ -26,7 +26,8 @@ set_target_properties(processcore PROPERTIES
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS processcore
|
TARGETS processcore
|
||||||
EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
@ -36,7 +37,6 @@ install(
|
||||||
processes.h
|
processes.h
|
||||||
process.h
|
process.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksysguard
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksysguard
|
||||||
COMPONENT Devel
|
|
||||||
)
|
)
|
||||||
|
|
||||||
#------ KAuth stuff
|
#------ KAuth stuff
|
||||||
|
|
|
@ -28,7 +28,8 @@ set_target_properties(processui
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS processui
|
TARGETS processui
|
||||||
EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
#----------------------
|
#----------------------
|
||||||
|
@ -50,6 +51,5 @@ install(
|
||||||
ProcessFilter.h
|
ProcessFilter.h
|
||||||
ksysguardprocesslist.h
|
ksysguardprocesslist.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksysguard
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksysguard
|
||||||
COMPONENT Devel
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@ set(ksignalplotter_LIB_SRCS
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(ksignalplotter SHARED ${ksignalplotter_LIB_SRCS})
|
add_library(ksignalplotter SHARED ${ksignalplotter_LIB_SRCS})
|
||||||
|
|
||||||
target_link_libraries(ksignalplotter PUBLIC ${KDE4_KDEUI_LIBS})
|
target_link_libraries(ksignalplotter PUBLIC ${KDE4_KDEUI_LIBS})
|
||||||
|
|
||||||
set_target_properties(ksignalplotter
|
set_target_properties(ksignalplotter
|
||||||
|
@ -13,7 +12,8 @@ set_target_properties(ksignalplotter
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS ksignalplotter
|
TARGETS ksignalplotter
|
||||||
EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
#----------------------
|
#----------------------
|
||||||
|
@ -22,7 +22,10 @@ kde4_add_widget(ksignalplotterwidgets_SRCS ksignalplotter.widgets)
|
||||||
|
|
||||||
kde4_add_plugin(ksignalplotterwidgets ${ksignalplotterwidgets_SRCS} ${ksignalplotterwidgets_PART_SRCS})
|
kde4_add_plugin(ksignalplotterwidgets ${ksignalplotterwidgets_SRCS} ${ksignalplotterwidgets_PART_SRCS})
|
||||||
|
|
||||||
target_link_libraries(ksignalplotterwidgets ${KDE4_KDEUI_LIBS} ksignalplotter)
|
target_link_libraries(ksignalplotterwidgets
|
||||||
|
${KDE4_KDEUI_LIBS}
|
||||||
|
ksignalplotter
|
||||||
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS ksignalplotterwidgets
|
TARGETS ksignalplotterwidgets
|
||||||
|
@ -32,5 +35,4 @@ install(
|
||||||
install(
|
install(
|
||||||
FILES ksignalplotter.h
|
FILES ksignalplotter.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksysguard
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksysguard
|
||||||
COMPONENT Devel
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -37,7 +37,8 @@ generate_export_header(kworkspace)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS kworkspace
|
TARGETS kworkspace
|
||||||
EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
|
@ -47,5 +48,4 @@ install(
|
||||||
kworkspace.h
|
kworkspace.h
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/kworkspace_export.h
|
${CMAKE_CURRENT_BINARY_DIR}/kworkspace_export.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/kworkspace
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/kworkspace
|
||||||
COMPONENT Devel
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -12,20 +12,20 @@ kde4_add_kcfg_files(oxygenstyle_LIB_SRCS
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(oxygenstyle SHARED ${oxygenstyle_LIB_SRCS})
|
add_library(oxygenstyle SHARED ${oxygenstyle_LIB_SRCS})
|
||||||
|
|
||||||
target_link_libraries(oxygenstyle PUBLIC
|
target_link_libraries(oxygenstyle PUBLIC
|
||||||
${KDE4_KDEUI_LIBS}
|
${KDE4_KDEUI_LIBS}
|
||||||
)
|
)
|
||||||
|
target_link_libraries(oxygenstyle PRIVATE ${X11_LIBRARIES})
|
||||||
if ( X11_FOUND )
|
|
||||||
target_link_libraries(oxygenstyle PRIVATE ${X11_LIBRARIES})
|
|
||||||
endif( X11_FOUND )
|
|
||||||
|
|
||||||
set_target_properties(oxygenstyle PROPERTIES
|
set_target_properties(oxygenstyle PROPERTIES
|
||||||
VERSION ${GENERIC_LIB_VERSION}
|
VERSION ${GENERIC_LIB_VERSION}
|
||||||
SOVERSION ${GENERIC_LIB_SOVERSION}
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
||||||
)
|
)
|
||||||
install(TARGETS oxygenstyle ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
|
||||||
|
install(
|
||||||
|
TARGETS oxygenstyle
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
# next target
|
# next target
|
||||||
set(oxygenstyleconfig_LIB_SRCS
|
set(oxygenstyleconfig_LIB_SRCS
|
||||||
|
@ -44,16 +44,17 @@ target_link_libraries(oxygenstyleconfig PUBLIC
|
||||||
${KDE4_KDEUI_LIBS}
|
${KDE4_KDEUI_LIBS}
|
||||||
oxygenstyle
|
oxygenstyle
|
||||||
)
|
)
|
||||||
|
target_link_libraries(oxygenstyleconfig PRIVATE ${X11_LIBRARIES})
|
||||||
if ( X11_FOUND )
|
|
||||||
target_link_libraries(oxygenstyleconfig PRIVATE ${X11_LIBRARIES})
|
|
||||||
endif( X11_FOUND )
|
|
||||||
|
|
||||||
set_target_properties(oxygenstyleconfig PROPERTIES
|
set_target_properties(oxygenstyleconfig PROPERTIES
|
||||||
VERSION ${GENERIC_LIB_VERSION}
|
VERSION ${GENERIC_LIB_VERSION}
|
||||||
SOVERSION ${GENERIC_LIB_SOVERSION}
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
||||||
)
|
)
|
||||||
install(TARGETS oxygenstyleconfig ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
||||||
|
install(
|
||||||
|
TARGETS oxygenstyleconfig
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
generate_export_header(oxygenstyle BASE_NAME oxygen)
|
generate_export_header(oxygenstyle BASE_NAME oxygen)
|
||||||
|
|
||||||
|
|
|
@ -30,9 +30,9 @@ install(
|
||||||
calendartable.h
|
calendartable.h
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/plasmaclock_export.h
|
${CMAKE_CURRENT_BINARY_DIR}/plasmaclock_export.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/plasmaclock
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/plasmaclock
|
||||||
COMPONENT Devel
|
|
||||||
)
|
)
|
||||||
install(
|
install(
|
||||||
TARGETS plasmaclock
|
TARGETS plasmaclock
|
||||||
EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
|
@ -69,6 +69,13 @@ install(
|
||||||
PATTERN "Messages.sh" EXCLUDE
|
PATTERN "Messages.sh" EXCLUDE
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS plasmagenericshell EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
INSTALL(FILES plasma-layout-template.desktop DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR})
|
TARGETS plasmagenericshell
|
||||||
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES plasma-layout-template.desktop
|
||||||
|
DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,8 @@ generate_export_header(taskmanager)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS taskmanager
|
TARGETS taskmanager
|
||||||
EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(FILES
|
install(FILES
|
||||||
|
@ -65,7 +66,7 @@ install(FILES
|
||||||
taskitem.h
|
taskitem.h
|
||||||
taskmanager.h
|
taskmanager.h
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/taskmanager_export.h
|
${CMAKE_CURRENT_BINARY_DIR}/taskmanager_export.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/taskmanager COMPONENT Devel
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/taskmanager
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,10 @@ target_link_libraries(kickoff ${KDE4_PLASMA_LIBS} ${Kickoff_LIBS})
|
||||||
|
|
||||||
generate_export_header(kickoff)
|
generate_export_header(kickoff)
|
||||||
|
|
||||||
install(TARGETS kickoff ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS kickoff
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
#######################################################################################
|
#######################################################################################
|
||||||
# Kickoff Plasma Applet
|
# Kickoff Plasma Applet
|
||||||
|
@ -119,5 +122,5 @@ install(
|
||||||
# set(Application_SRCS ${Kickoff_SRCS} main.cpp)
|
# set(Application_SRCS ${Kickoff_SRCS} main.cpp)
|
||||||
# add_executable(kickoff ${Application_SRCS})
|
# add_executable(kickoff ${Application_SRCS})
|
||||||
# target_link_libraries(kickoff ${KDE4_PLASMA_LIBS} ${Kickoff_LIBS})
|
# target_link_libraries(kickoff ${KDE4_PLASMA_LIBS} ${Kickoff_LIBS})
|
||||||
# install(TARGETS kickoff ${INSTALL_TARGETS_DEFAULT_ARGS})
|
# install(TARGETS kickoff DESTINATION ${KDE4_BIN_INSTALL_DIR})
|
||||||
#ENDIF (CMAKE_BUILD_TYPE MATCHES Debug)
|
#ENDIF (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||||
|
|
|
@ -98,7 +98,7 @@ target_link_libraries(plasma_applet_system-monitor ${KDE4_PLASMA_LIBS} ${KDE4_KD
|
||||||
# Install
|
# Install
|
||||||
install(
|
install(
|
||||||
TARGETS plasma_applet-system-monitor
|
TARGETS plasma_applet-system-monitor
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
install(
|
install(
|
||||||
TARGETS
|
TARGETS
|
||||||
|
|
|
@ -16,19 +16,20 @@ set_target_properties(plasma-geolocation-interface PROPERTIES
|
||||||
|
|
||||||
generate_export_header(plasma-geolocation-interface BASE_NAME geolocation)
|
generate_export_header(plasma-geolocation-interface BASE_NAME geolocation)
|
||||||
|
|
||||||
install(TARGETS plasma-geolocation-interface ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS plasma-geolocation-interface
|
||||||
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
FILES
|
FILES
|
||||||
geolocationprovider.h
|
geolocationprovider.h
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/geolocation_export.h
|
${CMAKE_CURRENT_BINARY_DIR}/geolocation_export.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/plasma/geolocation
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/plasma/geolocation
|
||||||
COMPONENT Devel
|
|
||||||
)
|
)
|
||||||
|
|
||||||
#install(FILES includes/Interface
|
#install(FILES includes/Interface
|
||||||
# DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/KDE/Plasma/Geolocation
|
# DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/KDE/Plasma/Geolocation)
|
||||||
# COMPONENT Devel)
|
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
set(plasma_dataengine_geolocation_SRCS geolocation.cpp)
|
set(plasma_dataengine_geolocation_SRCS geolocation.cpp)
|
||||||
|
|
|
@ -2,11 +2,22 @@ include_directories(
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ions
|
${CMAKE_CURRENT_BINARY_DIR}/ions
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
ADD_SUBDIRECTORY(ions)
|
ADD_SUBDIRECTORY(ions)
|
||||||
|
|
||||||
SET(weather_SRCS weatherengine.cpp)
|
SET(weather_SRCS weatherengine.cpp)
|
||||||
kde4_add_plugin(plasma_engine_weather ${weather_SRCS})
|
kde4_add_plugin(plasma_engine_weather ${weather_SRCS})
|
||||||
TARGET_LINK_LIBRARIES (plasma_engine_weather ${KDE4_KIO_LIBS} ${KDE4_SOLID_LIBS} ${KDE4_PLASMA_LIBS} weather_ion)
|
TARGET_LINK_LIBRARIES(plasma_engine_weather
|
||||||
INSTALL (TARGETS plasma_engine_weather DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
${KDE4_KIO_LIBS}
|
||||||
INSTALL (FILES plasma-dataengine-weather.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
${KDE4_SOLID_LIBS}
|
||||||
|
${KDE4_PLASMA_LIBS}
|
||||||
|
weather_ion
|
||||||
|
)
|
||||||
|
|
||||||
|
INSTALL(
|
||||||
|
TARGETS plasma_engine_weather
|
||||||
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
INSTALL(
|
||||||
|
FILES plasma-dataengine-weather.desktop
|
||||||
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -17,7 +17,7 @@ generate_export_header(weather_ion BASE_NAME ion)
|
||||||
install(
|
install(
|
||||||
TARGETS weather_ion
|
TARGETS weather_ion
|
||||||
EXPORT kdeworkspaceLibraryTargets
|
EXPORT kdeworkspaceLibraryTargets
|
||||||
${INSTALL_TARGETS_DEFAULT_ARGS}
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
|
@ -25,13 +25,11 @@ install(
|
||||||
ion.h
|
ion.h
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ion_export.h
|
${CMAKE_CURRENT_BINARY_DIR}/ion_export.h
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/plasma/weather
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/plasma/weather
|
||||||
COMPONENT Devel
|
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
FILES includes/Ion
|
FILES includes/Ion
|
||||||
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/KDE/Plasma/Weather
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/KDE/Plasma/Weather
|
||||||
COMPONENT Devel
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# the individual ion plugins
|
# the individual ion plugins
|
||||||
|
|
|
@ -43,18 +43,27 @@ target_link_libraries(plasma-desktop
|
||||||
${KDE4_KIDLETIME_LIBS}
|
${KDE4_KIDLETIME_LIBS}
|
||||||
${QT_QTSCRIPT_LIBRARY}
|
${QT_QTSCRIPT_LIBRARY}
|
||||||
${QT_QTDECLARATIVE_LIBRARY}
|
${QT_QTDECLARATIVE_LIBRARY}
|
||||||
|
${X11_LIBRARIES}
|
||||||
kworkspace
|
kworkspace
|
||||||
plasmagenericshell
|
plasmagenericshell
|
||||||
)
|
)
|
||||||
|
|
||||||
if(UNIX AND Q_WS_X11)
|
install(
|
||||||
target_link_libraries(plasma-desktop ${X11_LIBRARIES})
|
TARGETS plasma-desktop
|
||||||
endif(UNIX AND Q_WS_X11)
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
install(TARGETS plasma-desktop ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
install(FILES data/plasma-desktop.desktop DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR})
|
FILES data/plasma-desktop.desktop
|
||||||
install(FILES data/plasma-shell-desktop.kcfg DESTINATION ${KDE4_KCFG_INSTALL_DIR})
|
DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR}
|
||||||
install(FILES data/plasma-desktop-js.xml DESTINATION ${KDE4_DATA_INSTALL_DIR}/katepart/syntax/)
|
)
|
||||||
|
install(
|
||||||
|
FILES data/plasma-shell-desktop.kcfg
|
||||||
|
DESTINATION ${KDE4_KCFG_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES data/plasma-desktop-js.xml
|
||||||
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/katepart/syntax/
|
||||||
|
)
|
||||||
install(
|
install(
|
||||||
FILES data/plasma-desktoprc
|
FILES data/plasma-desktoprc
|
||||||
DESTINATION ${KDE4_CONFIG_INSTALL_DIR}
|
DESTINATION ${KDE4_CONFIG_INSTALL_DIR}
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
include_directories(${CMAKE_SOURCE_DIR}/libs ${CMAKE_SOURCE_DIR}/libs/kworkspace)
|
include_directories(
|
||||||
|
${CMAKE_SOURCE_DIR}/libs
|
||||||
|
${CMAKE_SOURCE_DIR}/libs/kworkspace
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
set(plasma-windowed_SRCS
|
set(plasma-windowed_SRCS
|
||||||
|
@ -8,10 +11,18 @@ set(plasma-windowed_SRCS
|
||||||
${appletbrowserdialog_SRCS}
|
${appletbrowserdialog_SRCS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
add_executable(plasma-windowed ${plasma-windowed_SRCS})
|
add_executable(plasma-windowed ${plasma-windowed_SRCS})
|
||||||
|
|
||||||
target_link_libraries(plasma-windowed ${KDE4_PLASMA_LIBS} kworkspace ${KDE4_KIO_LIBS} ${X11_LIBRARIES} ${KDE4_KFILE_LIBS} )
|
target_link_libraries(plasma-windowed
|
||||||
|
${KDE4_PLASMA_LIBS}
|
||||||
|
${KDE4_KIO_LIBS}
|
||||||
|
${X11_LIBRARIES}
|
||||||
|
${KDE4_KFILE_LIBS}
|
||||||
|
kworkspace
|
||||||
|
)
|
||||||
|
|
||||||
install(TARGETS plasma-windowed ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS plasma-windowed
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
|
@ -29,9 +29,23 @@ TARGET_LINK_LIBRARIES(solid-action-desktop-gen ${KDE4_SOLID_LIBS} ${KDE4_KIO_LIB
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
||||||
INSTALL( TARGETS kcm_solid_actions DESTINATION ${KDE4_PLUGIN_INSTALL_DIR} )
|
INSTALL(
|
||||||
INSTALL( TARGETS solid-action-desktop-gen ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
TARGETS kcm_solid_actions
|
||||||
INSTALL( FILES solid-actions.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR} )
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
||||||
INSTALL( FILES solid-action-template.desktop DESTINATION ${KDE4_DATA_INSTALL_DIR}/kcmsolidactions )
|
)
|
||||||
INSTALL( FILES solid-device-type.desktop DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR} )
|
INSTALL(
|
||||||
|
TARGETS solid-action-desktop-gen
|
||||||
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
INSTALL(
|
||||||
|
FILES solid-actions.desktop
|
||||||
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
||||||
|
INSTALL(
|
||||||
|
FILES solid-action-template.desktop
|
||||||
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/kcmsolidactions
|
||||||
|
)
|
||||||
|
INSTALL(
|
||||||
|
FILES solid-device-type.desktop
|
||||||
|
DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,7 @@
|
||||||
set(solid-hardware_SRCS solid-hardware.cpp)
|
set(solid-hardware_SRCS solid-hardware.cpp)
|
||||||
add_executable(solid-hardware ${solid-hardware_SRCS})
|
add_executable(solid-hardware ${solid-hardware_SRCS})
|
||||||
target_link_libraries(solid-hardware ${KDE4_KDECORE_LIBS} ${KDE4_SOLID_LIBS})
|
target_link_libraries(solid-hardware ${KDE4_KDECORE_LIBS} ${KDE4_SOLID_LIBS})
|
||||||
install(TARGETS solid-hardware ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(
|
||||||
|
TARGETS solid-hardware
|
||||||
########### install files ###############
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
include_directories( ToolTips )
|
include_directories( ToolTips )
|
||||||
|
|
||||||
SET( systemsettings_SRCS
|
set( systemsettings_SRCS
|
||||||
SystemSettingsApp.cpp
|
SystemSettingsApp.cpp
|
||||||
SettingsBase.cpp
|
SettingsBase.cpp
|
||||||
ToolTips/ktooltip.cpp
|
ToolTips/ktooltip.cpp
|
||||||
|
@ -9,13 +9,28 @@ SET( systemsettings_SRCS
|
||||||
main.cpp
|
main.cpp
|
||||||
configDialog.ui
|
configDialog.ui
|
||||||
)
|
)
|
||||||
|
|
||||||
KDE4_ADD_KCFG_FILES( systemsettings_SRCS BaseConfig.kcfgc )
|
KDE4_ADD_KCFG_FILES( systemsettings_SRCS BaseConfig.kcfgc )
|
||||||
QT4_ADD_DBUS_ADAPTOR( systemsettings_SRCS org.kde.systemsettings.xml SystemSettingsApp.h SystemSettingsApp )
|
QT4_ADD_DBUS_ADAPTOR( systemsettings_SRCS org.kde.systemsettings.xml SystemSettingsApp.h SystemSettingsApp )
|
||||||
|
|
||||||
add_executable( systemsettings ${systemsettings_SRCS})
|
add_executable(systemsettings ${systemsettings_SRCS})
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES( systemsettings ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KCMUTILS_LIBS} systemsettingsview )
|
target_link_libraries(systemsettings
|
||||||
|
${KDE4_PLASMA_LIBS}
|
||||||
|
${KDE4_KIO_LIBS}
|
||||||
|
${KDE4_KCMUTILS_LIBS}
|
||||||
|
systemsettingsview
|
||||||
|
)
|
||||||
|
|
||||||
INSTALL( TARGETS systemsettings ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
install(
|
||||||
INSTALL( FILES systemsettingsui.rc systemsettings.kcfg DESTINATION ${KDE4_DATA_INSTALL_DIR}/systemsettings )
|
TARGETS systemsettings
|
||||||
INSTALL( PROGRAMS kdesystemsettings.desktop systemsettings.desktop DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR} )
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES systemsettingsui.rc systemsettings.kcfg
|
||||||
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/systemsettings
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
PROGRAMS kdesystemsettings.desktop systemsettings.desktop
|
||||||
|
DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
|
@ -18,11 +18,23 @@ set(systemsettingsview_LIB_HDRS
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(systemsettingsview SHARED ${systemsettingsview_LIB_SRCS})
|
add_library(systemsettingsview SHARED ${systemsettingsview_LIB_SRCS})
|
||||||
|
target_link_libraries(systemsettingsview
|
||||||
target_link_libraries(systemsettingsview ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KCMUTILS_LIBS})
|
${KDE4_KDECORE_LIBS}
|
||||||
|
${KDE4_KIO_LIBS}
|
||||||
|
${KDE4_KCMUTILS_LIBS}
|
||||||
|
)
|
||||||
|
|
||||||
generate_export_header(systemsettingsview)
|
generate_export_header(systemsettingsview)
|
||||||
|
|
||||||
install( TARGETS systemsettingsview ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
install(
|
||||||
install( FILES ${systemsettingsview_LIB_HDRS} DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/systemsettingsview COMPONENT Devel)
|
TARGETS systemsettingsview
|
||||||
INSTALL( FILES systemsettingsview.desktop systemsettingsexternalapp.desktop DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR})
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES ${systemsettingsview_LIB_HDRS}
|
||||||
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/systemsettingsview
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES systemsettingsview.desktop systemsettingsexternalapp.desktop
|
||||||
|
DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue