blob: 1aac18990f719cb2170753d0a1c6f9051a8c0b3f (
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
|
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
tde_import( libkmime )
tde_import( ktnef )
tde_import( libtdepim )
tde_import( libkdenetwork )
tde_import( certmanager )
tde_import( libkcal )
tde_import( libkpimidentities )
add_subdirectory( kalarmd )
add_subdirectory( lib )
add_subdirectory( pixmaps )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/lib
${CMAKE_CURRENT_SOURCE_DIR}/kalarmd
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/libkmime
${CMAKE_SOURCE_DIR}/libtdepim
${CMAKE_SOURCE_DIR}/certmanager/lib
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TDE_LIB_DIR}
${TQT_LIBRARY_DIRS}
)
if( WITH_ARTS )
set( ARTS_LIBRARIES artskde-shared mcop )
endif( )
##### other data ################################
tde_install_icons( )
install( FILES kalarm.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES kalarm.tray.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
install( FILES kalarmui.rc DESTINATION ${DATA_INSTALL_DIR}/kalarm )
install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Applications RENAME kalarm.desktop )
##### kalarm (executable) #######################
tde_add_executable( kalarm AUTOMOC
SOURCES
birthdaydlg.cpp main.cpp alarmevent.cpp editdlg.cpp
emailidcombo.cpp find.cpp pickfileradio.cpp
calendarcompat.cpp eventlistviewbase.cpp alarmlistview.cpp
kamail.cpp timeselector.cpp fontcolourbutton.cpp
alarmtimewidget.cpp fontcolour.cpp soundpicker.cpp
sounddlg.cpp alarmcalendar.cpp daemon.cpp undo.cpp
kalarmapp.cpp mainwindowbase.cpp mainwindow.cpp
messagewin.cpp preferences.cpp prefdlg.cpp
kalarmiface.skel recurrenceedit.cpp karecurrence.cpp
deferdlg.cpp functions.cpp specialactions.cpp reminder.cpp
startdaytimer.cpp templatelistview.cpp templatepickdlg.cpp
templatedlg.cpp templatemenuaction.cpp latecancel.cpp
repetition.cpp alarmtext.cpp traywindow.cpp dcophandler.cpp
kalarmd/alarmguiiface.skel
LINK
kalarm-static kalarmd-static
kpimidentities-shared kutils-shared ${ARTS_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)
|