blob: b2e4628539be0315d631eaa2ea11a0a8c2ece8da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
include( ConfigureChecks.cmake )
add_subdirectory( lock )
add_subdirectory( pics )
add_subdirectory( patterns )
add_subdirectory( programs )
add_subdirectory( init )
add_subdirectory( kwebdesktop )
if( NOT BUILD_LIBKONQ )
include( "${TDE_CMAKE_DIR}/libkonq.cmake" )
endif( NOT BUILD_LIBKONQ )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/tdmlib
${CMAKE_SOURCE_DIR}/kcontrol/background
${CMAKE_SOURCE_DIR}/libkonq
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### headers ###################################
install( FILES
KDesktopIface.h KScreensaverIface.h KBackgroundIface.h
DESTINATION ${INCLUDE_INSTALL_DIR} )
##### other data ################################
configure_file( kdesktop.desktop.cmake kdesktop.desktop @ONLY )
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/kdesktop.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
install( FILES kdesktop_custom_menu1 kdesktop_custom_menu2 DESTINATION ${CONFIG_INSTALL_DIR} )
install( FILES kdesktopSetAsBackground.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
install( FILES kdesktop.kcfg klaunch.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
##### kcheckrunning (executable) ################
tde_add_executable( kcheckrunning
SOURCES kcheckrunning.cpp
LINK ${TQT_LIBRARIES} X11
DESTINATION ${BIN_INSTALL_DIR}
)
##### kxdglauncher (executable) #################
tde_add_executable( kxdglauncher
SOURCES kxdglauncher.cpp
LINK kutils-shared
DESTINATION ${BIN_INSTALL_DIR}
)
##### kdesktop (tdeinit) ########################
set( target kdesktop )
set( ${target}_SRCS
main.cc krootwm.cc xautolock.cc kdiconview.cc init.cc
desktop.cc lockeng.cc KDesktopIface.skel bgmanager.cc
KScreensaverIface.skel minicli.cpp KBackgroundIface.skel
pixmapserver.cc kcustommenu.cc startupid.cpp minicli_ui.ui
xautolock_diy.c xautolock_engine.c kshadowengine.cpp
kshadowsettings.cpp kdesktopshadowsettings.cpp
kfileividesktop.cpp kdesktopapp.cpp
)
tde_add_tdeinit_executable( ${target} AUTOMOC
SOURCES ${${target}_SRCS}
LINK
kdesktopsettings-static bgnd-static dmctl-static
konq-shared kutils-shared
${XRENDER_LIBRARIES} ${XCURSOR_LIBRARIES} Xext dl
${XSS_LIBRARIES}
)
##### kdesktopsettings (static) #################
tde_add_library( kdesktopsettings STATIC_PIC
SOURCES kdesktopsettings.kcfgc klaunchsettings.kcfgc
)
|