blob: b1e8926bc8c5fb5a5ed6c749881e1068bd21ee76 (
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
project(twinkle-gui)
add_definitions(-DQT3_SUPPORT)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
qt4_wrap_ui(
twinkle_UIS
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
)
qt4_add_resources(twinkle_QRC icons.qrc)
qt4_add_translation(twinkle_LANG
lang/twinkle_cs.ts
lang/twinkle_de.ts
lang/twinkle_fr.ts
lang/twinkle_nl.ts
lang/twinkle_ru.ts
lang/twinkle_sv.ts
)
qt4_wrap_cpp(twinkle_MOC
gui.h
dtmfform.h
deregisterform.h
logviewform.h
numberconversionform.h
getprofilenameform.h
historylistview.h
address_finder.h
qt_translator.h
core_strings.h
addresstablemodel.h
yesnodialog.h
command_args.h
messageformview.h
buddylistview.h
textbrowsernoautolink.h
twinkleapplication.h
mphoneform.h
inviteform.h
getaddressform.h
termcapform.h
redirectform.h
messageform.h
srvredirectform.h
userprofileform.h
transferform.h
syssettingsform.h
historyform.h
selectuserform.h
selectprofileform.h
buddyform.h
diamondcardprofileform.h
addresscardform.h
authenticationform.h
selectnicform.h
sendfileform.h
wizardform.h
)
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
historylistview.cpp
logviewform.cpp
main.cpp
messageformview.cpp
numberconversionform.cpp
twinkleapplication.cpp
yesnodialog.cpp
$<TARGET_OBJECTS:libtwinkle>
$<TARGET_OBJECTS:libtwinkle-audio>
$<TARGET_OBJECTS:libtwinkle-gsm>
$<TARGET_OBJECTS:libtwinkle-audits>
$<TARGET_OBJECTS:libtwinkle-im>
$<TARGET_OBJECTS:libtwinkle-mwi>
$<TARGET_OBJECTS:libtwinkle-parser>
$<TARGET_OBJECTS:libtwinkle-patterns>
$<TARGET_OBJECTS:libtwinkle-presence>
$<TARGET_OBJECTS:libtwinkle-sdp>
$<TARGET_OBJECTS:libtwinkle-sockets>
$<TARGET_OBJECTS:libtwinkle-stun>
$<TARGET_OBJECTS:libtwinkle-threads>
$<TARGET_OBJECTS:libtwinkle-utils>
${twinkle_UIS}
${twinkle_QRC}
${twinkle_MOC}
${twinkle_LANG}
)
add_executable(twinkle ${TWINKLE_GUI-SRCS})
target_link_libraries(twinkle -lpthread -lresolv ${LibMagic_LIBRARY} ${LIBXML2_LIBRARIES}
${Readline_LIBRARY} ${ILBC_LIBRARIES} ${SPEEX_LIBRARIES} ${ZRTPCPP_LIBRARIES}
${CCRTP_LIBRARIES} ${COMMONCPP_LIBRARIES} ${UCOMMON_LIBRARIES} ${LIBSNDFILE_LIBRARY}
${Boost_LIBRARIES} Qt4::QtGui Qt4::Qt3Support ${ALSA_LIBRARY})
install(TARGETS twinkle DESTINATION bin)
install(FILES ${twinkle_LANG} DESTINATION share/twinkle/lang)
|