blob: 910dbb2e010d35f01a498111c91fd4b1e95c6f46 (
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
|
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
# FIXME KDE_CXXFLAGS = $(USE_RTTI)
tde_import( libkmime )
tde_import( ktnef )
tde_import( libkcal )
tde_import( libtdepim )
tde_import( libksieve )
tde_import( mimelib )
tde_import( libtdenetwork )
tde_import( certmanager )
tde_import( libkpimidentities )
tde_import( libkpgp )
tde_import( kmail )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/libtdepim
${CMAKE_SOURCE_DIR}/mimelib
${CMAKE_SOURCE_DIR}/libkmime
${CMAKE_SOURCE_DIR}/libemailfunctions
${CMAKE_SOURCE_DIR}/kmail
${CMAKE_SOURCE_DIR}/korganizer
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### other data ################################
install( FILES
text_vcard.desktop text_calendar.desktop text_xdiff.desktop
DESTINATION ${DATA_INSTALL_DIR}/kmail/plugins/bodypartformatter )
##### libkmail_bodypartformatter_text_vcard (module)
tde_add_kpart( libkmail_bodypartformatter_text_vcard AUTOMOC
SOURCES
text_vcard.cpp
LINK tdepim-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### libkmail_bodypartformatter_text_calendar (module)
tde_add_kpart( libkmail_bodypartformatter_text_calendar AUTOMOC
SOURCES
text_calendar.cpp delegateselector.cpp attendeeselector.cpp
ui_attendeeselector.ui ${CMAKE_SOURCE_DIR}/korganizer/kcalendariface.stub
LINK kmailprivate-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### libkmail_bodypartformatter_text_xdiff (module)
tde_add_kpart( libkmail_bodypartformatter_text_xdiff AUTOMOC
SOURCES
text_xdiff.cpp
LINK ${TQT_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
|