blob: a254b5cbaabbdd3032501ed71cd003178db5648f (
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
106
107
108
109
110
111
112
113
114
115
|
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
project( kaddressbook )
tde_import( libtdenetwork )
tde_import( certmanager )
tde_import( libkmime )
tde_import( ktnef )
tde_import( libkcal )
tde_import( libtdepim )
add_subdirectory( interfaces )
add_subdirectory( printing )
add_subdirectory( editors )
add_subdirectory( views )
add_subdirectory( features )
add_subdirectory( xxport )
add_subdirectory( kcmconfigs )
add_subdirectory( pics )
add_subdirectory( csv-templates )
add_subdirectory( thumbnailcreator )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}/common
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/common
${CMAKE_CURRENT_SOURCE_DIR}/interfaces
${CMAKE_CURRENT_SOURCE_DIR}/editors
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/libtdepim
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### other data ################################
tde_install_icons( kaddressbook )
install( FILES
kaddressbook.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES
kaddressbook_view.desktop dcopaddressbook.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR} )
install( FILES
kaddressbookui.rc kaddressbook_part.rc zone.tab
DESTINATION ${DATA_INSTALL_DIR}/kaddressbook )
##### libkaddressbookpart (module) ##############
tde_add_kpart( libkaddressbookpart AUTOMOC
SOURCES kaddressbook_part.cpp
LINK kaddressbook-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### kaddressbook (executable) #################
tde_add_executable( kaddressbook AUTOMOC
SOURCES main.cpp kaddressbookmain.cpp
LINK kaddressbook-shared
DESTINATION ${BIN_INSTALL_DIR}
)
##### kaddressbook (shared) #####################
tde_add_library( kaddressbook SHARED AUTOMOC
SOURCES
addresseeconfig.cpp addresseeeditordialog.cpp addresseeeditorwidget.cpp
addresseeeditorbase.cpp addresseeeditorextension.cpp addresseeutil.cpp
addresseditwidget.cpp addviewdialog.cpp emaileditwidget.cpp
extensionmanager.cpp filtereditdialog.cpp filterselectionwidget.cpp
geowidget.cpp imagewidget.cpp incsearchwidget.cpp jumpbuttonbar.cpp kabcore.cpp
kablock.cpp kaddressbookiface.skel kaddressbookservice.cpp kaddressbookview.cpp
keywidget.cpp ldapsearchdialog.cpp nameeditdialog.cpp phoneeditwidget.cpp
secrecywidget.cpp soundwidget.cpp viewconfigurefieldspage.cpp
viewconfigurefilterpage.cpp viewconfigurewidget.cpp undocmds.cpp
viewmanager.cpp xxportmanager.cpp xxportselectdialog.cpp
contacteditorwidgetmanager.cpp simpleaddresseeeditor.cpp
advancedcustomfields.cpp customfieldswidget.cpp freebusywidget.cpp
searchmanager.cpp imeditwidget.cpp kabtools.cpp distributionlistpicker.cpp
distributionlisteditor.cpp distributionlistentryview.cpp
VERSION 0.0.0
LINK
kabcommon-static kabim-static printer-static
kabinterfaces-shared
tdepim-shared tdeabc_file-shared tdeprint-shared tdeutils-shared
DESTINATION ${LIB_INSTALL_DIR}
)
##### install import cmake modules ###############
tde_install_export( )
|