summaryrefslogtreecommitdiffstats
path: root/conduits/vcalconduit/CMakeLists.txt
blob: 22d8664dd3555f75a5eb9b2b0a1b9530fd8fa576 (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

include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_SOURCE_DIR}/lib
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)

tde_import( libkmime )
tde_import( ktnef )
tde_import( libkcal )


##### vcalconduit (static) ######################

tde_add_library( vcalconduit STATIC_PIC AUTOMOC
  SOURCES vcalconduitSettings.kcfgc korganizerConduit.ui
    kcalRecord.cc vcal-setupbase.cc vcal-conduitbase.cc
    cleanupstate.cc deleteunsyncedhhstate.cc
    deleteunsyncedpcstate.cc hhtopcstate.cc
    initstate.cc pctohhstate.cc teststate.cc
)


##### conduit_vcal (kpart) ######################

tde_add_kpart( conduit_vcal AUTOMOC
  SOURCES vcal-conduit.cc vcalRecord.cc vcal-factory.cc vcal-setup.cc
  LINK kpilot-shared kcal-shared tderesources-shared vcalconduit-static
  DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### conduit_todo (kpart) ######################

tde_add_kpart( conduit_todo AUTOMOC
  SOURCES todo-conduit.cc todoRecord.cc todo-factory.cc todo-setup.cc
  LINK kpilot-shared kcal-shared tderesources-shared vcalconduit-static
  DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### other data ################################

install( FILES vcal-conduit.desktop todo-conduit.desktop
  DESTINATION ${SERVICES_INSTALL_DIR}
)

install( FILES vcalconduitbase.kcfg
  DESTINATION ${KCFG_INSTALL_DIR}
)