summaryrefslogtreecommitdiffstats
path: root/lib/CMakeLists.txt
blob: 1fae0d79573a220f6b42bf653e2c2dce1fa0d699 (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

include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)

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


##### kpilot (shared) ###########################

tde_add_library( kpilot SHARED AUTOMOC
  SOURCES kpilotlibSettings.kcfgc options.cpp plugin.cpp syncAction.cpp
    kpilotlink.cpp kpilotdevicelink.cpp kpilotlocallink.cpp actions.cpp
    actionQueue.cpp pilot.cpp pilotAppInfo.cpp pilotRecord.cpp pilotDatabase.cpp
    pilotLocalDatabase.cpp pilotSerialDatabase.cpp pilotMemo.cpp pilotAddress.cpp
    pilotDateEntry.cpp pilotTodoEntry.cpp
  LINK tdeui-shared tdecore-shared tdeio-shared tdeabc-shared kcal-shared
    ${PILOTLINK_LIBRARIES}
  VERSION 0.0.0
  DESTINATION ${LIB_INSTALL_DIR}
)


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

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

install(
  FILES
    kpilotlink.h kpilotlocallink.h kpilotdevicelink.h pilot.h pilotDatabase.h
    pilotLinkVersion.h pilotLocalDatabase.h pilotRecord.h pilotSerialDatabase.h
    plugin.h pluginfactory.h syncAction.h
  DESTINATION
    ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME}
)