summaryrefslogtreecommitdiffstats
path: root/conduits/vcalconduit/CMakeLists.txt
blob: 0a58dc38db06840ee943f88a49f4272586068629 (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.cpp vcal-setupbase.cpp vcal-conduitbase.cpp
    cleanupstate.cpp deleteunsyncedhhstate.cpp
    deleteunsyncedpcstate.cpp hhtopcstate.cpp
    initstate.cpp pctohhstate.cpp teststate.cpp
)


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

tde_add_kpart( conduit_vcal AUTOMOC
  SOURCES vcal-conduit.cpp vcalRecord.cpp vcal-factory.cpp vcal-setup.cpp
  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.cpp todoRecord.cpp todo-factory.cpp todo-setup.cpp
  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}
)