summaryrefslogtreecommitdiffstats
path: root/conduits/docconduit/CMakeLists.txt
blob: 9c28da64eacbb0bf6dadb45f046bb57ef0b760e8 (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.cpp pilotDOCHead.cpp
    pilotDOCEntry.cpp pilotDOCBookmark.cpp
    DOC-converter.cpp
)


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

tde_add_executable( kpalmdoc AUTOMOC
  SOURCES kpalmdocSettings.kcfgc kpalmdoc_dlgbase.ui kpalmdoc_dlg.cpp
    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.cpp doc-setup.cpp doc-conduit.cpp
    doc-setupdialog.ui doc-conflictdialog.cpp
  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}
)