summaryrefslogtreecommitdiffstats
path: root/conduits/docconduit/CMakeLists.txt
blob: 3482a46d9806aa755cacddb258ad5da3eb3c18f6 (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

add_subdirectory( Icons )

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}
)


##### palmdoc (static) ##########################

tde_add_library( palmdoc STATIC_PIC AUTOMOC
  SOURCES makedoc9.cc pilotDOCHead.cc
    pilotDOCEntry.cc pilotDOCBookmark.cc
    DOC-converter.cc
)


##### kpalmdoc (executable) #####################

tde_add_executable( kpalmdoc AUTOMOC
  SOURCES kpalmdocSettings.kcfgc kpalmdoc_dlgbase.ui kpalmdoc_dlg.cc
    kpalmdoc.cpp
  LINK tdecore-shared tdeui-shared tdeio-shared kpilot-shared palmdoc-static
  DESTINATION ${BIN_INSTALL_DIR}
)


##### conduit_doc (kpart) #######################

tde_add_kpart( conduit_doc AUTOMOC
  SOURCES docconduitSettings.kcfgc doc-factory.cc doc-setup.cc doc-conduit.cc
    doc-setupdialog.ui doc-conflictdialog.cc
  LINK kpilot-shared tdeui-shared palmdoc-static
  DESTINATION ${PLUGIN_INSTALL_DIR}
)


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

install( FILES kpalmdoc.desktop
  DESTINATION ${XDG_APPS_INSTALL_DIR}
)

install( FILES kpalmdoc.upd
  DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update
)

install( FILES doc_conduit.desktop
  DESTINATION ${SERVICES_INSTALL_DIR}
)

install( FILES docconduit.kcfg kpalmdoc.kcfg
  DESTINATION ${KCFG_INSTALL_DIR}
)