blob: 2128055e1bc3924f14f9180f063328a37bac78b5 (
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
add_subdirectory( pics )
add_subdirectory( examples )
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/kwordquiz/icons
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### kwordquiz (executable)
tde_add_executable( kwordquiz AUTOMOC
SOURCES
dlglanguagebase.ui
flashviewbase.ui
multipleviewbase.ui
qaviewbase.ui
prefeditorbase.ui
prefquizbase.ui
dlgsortbase.ui
dlgrcbase.ui
prefcharacterbase.ui
prefcardappearancebase.ui
kwordquizprefs.cpp
kwordquizview.cpp
kwordquizdoc.cpp
kwordquiz.cpp
main.cpp
qaview.cpp
flashview.cpp
multipleview.cpp
wqquiz.cpp
wqlistitem.cpp
wqscore.cpp
keduvocdata.cpp
prefeditor.cpp
prefquiz.cpp
dlgsort.cpp
dlgrc.cpp
dlgspecchar.cpp
kvtmlwriter.cpp
dlglanguage.cpp
wqprintdialogpage.cpp
prefcharacter.cpp
paukerreader.cpp
wqlreader.cpp
wqlwriter.cpp
wqundo.cpp
prefcardappearance.cpp
kwqnewstuff.cpp
prefs.kcfgc
LINK
tdecore-shared
tdeui-shared
tdeio-shared
tdeprint-shared
tdenewstuff-shared
DESTINATION ${BIN_INSTALL_DIR}
)
##### other data
install(
FILES kwordquizui.rc
DESTINATION ${DATA_INSTALL_DIR}/kwordquiz
)
tde_create_translated_desktop(
SOURCE eventsrc
DESTINATION ${DATA_INSTALL_DIR}/kwordquiz
PO_DIR kwordquiz-events
)
tde_create_translated_desktop(
SOURCE kwordquiz.desktop
PO_DIR kwordquiz-desktops
)
tde_create_translated_desktop(
SOURCE x-kwordquiz.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
PO_DIR kwordquiz-desktops
)
install(
FILES kwordquiz.kcfg
DESTINATION ${KCFG_INSTALL_DIR}
)
install(
FILES kwordquizrc
DESTINATION ${CONFIG_INSTALL_DIR}
)
|