blob: 2ca923dfb2f1c72f02201a6bae3299f817dc12bd (
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
|
include_directories(
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${TQT_INCLUDE_DIRS}
${TDE_INCLUDE_DIR}
${XMU_INCLUDEDIR}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### autostart file #####
#tde_create_translated_desktop(
# SOURCE polkit-agent-tde.desktop
# DESTINATION ${AUTOSTART_INSTALL_DIR} )
##### kommando (shared)
tde_add_library( kommando SHARED AUTOMOC
SOURCES
menulistviewitem.cpp configuration.cpp menu.cpp
commandobutton.cpp roundbutton.cpp kommandoview.cpp
VERSION 1.0.0
LINK tdecore-shared tdeio-shared
DESTINATION ${LIB_INSTALL_DIR}
)
##### kommandod (kded module)
tde_add_kpart( kded_kommandod AUTOMOC
SOURCES kommandod.cpp kommandod.skel kommando.cpp
LINK tdeinit_kded-shared ${XMU_LIBRARIES} kommando-shared DCOP-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### kcm_kommando (kpart)
tde_add_kpart( kcm_kommando MODULE AUTOMOC
SOURCES configdialogimpl.cpp configdialog.ui kcmkommando.cpp servicemenu.cpp
LINK
kommando-shared ${XMU_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### other data ################################
tde_create_translated_desktop(
SOURCE kommandod.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
)
tde_create_translated_desktop(
SOURCE kommando.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)
|