blob: fa87eb0fb4914a3501a09952d1cca878cf168d58 (
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
)
set(doc_shared_SRCS
makedoc9.cc
pilotDOCHead.cc
pilotDOCEntry.cc
pilotDOCBookmark.cc
DOC-converter.cc
)
set(conduit_doc_SRCS
${doc_shared_SRCS}
kpalmdoc_dlg.cc
kpalmdoc.cpp
doc-factory.cc
doc-setup.cc
doc-conduit.cc
doc-conflictdialog.cc
)
set(conduit_doc_UIS
kpalmdoc_dlgbase.ui
doc-setupdialog.ui
)
set(conduit_doc_KCFGS
docconduitSettings.kcfgc
kpalmdocSettings.kcfgc
)
kde3_add_kcfg_files(conduit_doc_SRCS ${conduit_doc_KCFGS})
kde3_add_ui_files(conduit_doc_SRCS ${conduit_doc_UIS})
kde3_automoc(${conduit_doc_SRCS})
add_library(conduit_doc SHARED ${conduit_doc_SRCS})
kpilot_rpath(conduit_doc)
set_target_properties(
conduit_doc PROPERTIES LOCATION ${KDE3_PLUGIN_INSTALL_DIR}
PREFIX ""
)
kde3_install_libtool_file(conduit_doc)
install(
TARGETS conduit_doc
LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR}
)
set(kpalmdoc_SRCS
${doc_shared_SRCS}
kpalmdoc_dlg.cc
kpalmdoc.cpp
)
kde3_add_kcfg_files(kpalmdoc_SRCS kpalmdocSettings.kcfgc)
kde3_add_ui_files(kpalmdoc_SRCS kpalmdoc_dlgbase.ui)
kde3_automoc(${kpalmdoc_SRCS})
add_executable(kpalmdoc ${kpalmdoc_SRCS})
target_link_libraries(kpalmdoc ${QT_LIBRARIES} kpilot kdeui kio)
kpilot_rpath(kpalmdoc)
install(
TARGETS kpalmdoc conduit_doc
LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
)
install(
FILES doc_conduit.desktop DESTINATION ${KDE3_SERVICES_DIR}
)
install(
FILES docconduit.kcfg kpalmdoc.kcfg DESTINATION ${KDE3_KCFG_DIR}
)
install(
FILES kpalmdoc.desktop DESTINATION ${KDE3_XDG_APPS_DIR}
)
install(
FILES kpalmdoc.upd
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/apps/kconf_update
)
add_subdirectory(Icons)
|