blob: 64656406c64d400d1ea7a1615ecb39797582a840 (
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
106
107
108
|
project(twinkle-gui)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
set(twinkle_ui_SRC
addresscardform.ui
authenticationform.ui
buddyform.ui
deregisterform.ui
diamondcardprofileform.ui
dtmfform.ui
getaddressform.ui
getprofilenameform.ui
historyform.ui
inviteform.ui
logviewform.ui
messageform.ui
mphoneform.ui
numberconversionform.ui
redirectform.ui
selectnicform.ui
selectprofileform.ui
selectuserform.ui
sendfileform.ui
srvredirectform.ui
syssettingsform.ui
termcapform.ui
transferform.ui
userprofileform.ui
wizardform.ui
)
set (twinkle_lang_SRC
lang/twinkle_cs.ts
lang/twinkle_de.ts
lang/twinkle_fr.ts
lang/twinkle_nl.ts
lang/twinkle_ru.ts
lang/twinkle_sk.ts
lang/twinkle_sv.ts
)
qt5_wrap_ui(
twinkle_UIS
${twinkle_ui_SRC}
)
qt5_add_resources(twinkle_QRC icons.qrc qml/qml.qrc)
qt5_add_translation(twinkle_LANG
${twinkle_lang_SRC}
)
set(qt_LIBS Qt5::Widgets Qt5::Quick)
set(CMAKE_AUTOMOC ON)
set(TWINKLE_GUI-SRCS
mphoneform.cpp
inviteform.cpp
getaddressform.cpp
redirectform.cpp
termcapform.cpp
messageform.cpp
srvredirectform.cpp
userprofileform.cpp
transferform.cpp
syssettingsform.cpp
historyform.cpp
selectuserform.cpp
selectprofileform.cpp
buddyform.cpp
diamondcardprofileform.cpp
addresscardform.cpp
authenticationform.cpp
selectnicform.cpp
sendfileform.cpp
wizardform.cpp
address_finder.cpp
addresstablemodel.cpp
buddylistview.cpp
deregisterform.cpp
dtmfform.cpp
getprofilenameform.cpp
gui.cpp
logviewform.cpp
main.cpp
messageformview.cpp
numberconversionform.cpp
twinkleapplication.cpp
yesnodialog.cpp
textbrowsernoautolink.cpp
osd.cpp
incoming_call_popup.cpp
${twinkle_OBJS}
${twinkle_UIS}
${twinkle_QRC}
${twinkle_LANG}
)
add_executable(twinkle ${TWINKLE_GUI-SRCS})
target_link_libraries(twinkle ${twinkle_LIBS} ${qt_LIBS})
install(TARGETS twinkle DESTINATION bin)
install(FILES ${twinkle_LANG} DESTINATION share/twinkle/lang)
|