CMakeLists.txt 6.29 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
kde4_header()

include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}  )


########### next target ###############

set(syncsmtpsubmittest_SRCS syncsmtpsubmittest.cpp )

kde4_automoc(${syncsmtpsubmittest_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(syncsmtpsubmittest ${syncsmtpsubmittest_SRCS})

16
target_link_libraries(syncsmtpsubmittest  ${KDE4_KDECORE_LIBS} kcddb )
17
18
19
20
21
22
23
24
25
26
27
28
29

endif(KDE4_BUILD_TESTS)

########### next target ###############

set(asyncsmtpsubmittest_SRCS asyncsmtpsubmittest.cpp )

kde4_automoc(${asyncsmtpsubmittest_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(asyncsmtpsubmittest ${asyncsmtpsubmittest_SRCS})

30
target_link_libraries(asyncsmtpsubmittest  ${KDE4_KDECORE_LIBS} kcddb )
31
32
33
34
35
36
37
38
39
40
41
42
43

endif(KDE4_BUILD_TESTS)

########### next target ###############

set(asynchttplookuptest_SRCS asynchttplookuptest.cpp )

kde4_automoc(${asynchttplookuptest_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(asynchttplookuptest ${asynchttplookuptest_SRCS})

44
target_link_libraries(asynchttplookuptest  ${KDE4_KDECORE_LIBS} kcddb QtTest_debug )
45
46
47
48
49
50
51
52
53
54
55
56
57

endif(KDE4_BUILD_TESTS)

########### next target ###############

set(asynccddblookuptest_SRCS asynccddblookuptest.cpp )

kde4_automoc(${asynccddblookuptest_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(asynccddblookuptest ${asynccddblookuptest_SRCS})

58
target_link_libraries(asynccddblookuptest  ${KDE4_KDECORE_LIBS} kcddb )
59
60
61
62
63
64
65
66
67
68
69
70
71

endif(KDE4_BUILD_TESTS)

########### next target ###############

set(synccddblookuptest_SRCS synccddblookuptest.cpp )

kde4_automoc(${synccddblookuptest_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(synccddblookuptest ${synccddblookuptest_SRCS})

72
target_link_libraries(synccddblookuptest  ${KDE4_KDECORE_LIBS} kcddb QtTest_debug )
73
74
75
76
77
78
79
80
81
82
83
84
85

endif(KDE4_BUILD_TESTS)

########### next target ###############

set(synchttplookuptest_SRCS synchttplookuptest.cpp )

kde4_automoc(${synchttplookuptest_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(synchttplookuptest ${synchttplookuptest_SRCS})

86
target_link_libraries(synchttplookuptest  ${KDE4_KDECORE_LIBS} kcddb )
87
88
89
90
91
92
93
94
95
96
97
98
99

endif(KDE4_BUILD_TESTS)

########### next target ###############

set(asynchttpsubmittest_SRCS asynchttpsubmittest.cpp )

kde4_automoc(${asynchttpsubmittest_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(asynchttpsubmittest ${asynchttpsubmittest_SRCS})

100
target_link_libraries(asynchttpsubmittest  ${KDE4_KDECORE_LIBS} kcddb )
101
102
103
104
105
106
107
108
109
110
111
112
113

endif(KDE4_BUILD_TESTS)

########### next target ###############

set(synchttpsubmittest_SRCS synchttpsubmittest.cpp )

kde4_automoc(${synchttpsubmittest_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(synchttpsubmittest ${synchttpsubmittest_SRCS})

114
target_link_libraries(synchttpsubmittest  ${KDE4_KDECORE_LIBS} kcddb )
115
116
117
118
119
120
121
122
123
124
125
126
127

endif(KDE4_BUILD_TESTS)

########### next target ###############

set(sitestest_SRCS sitestest.cpp )

kde4_automoc(${sitestest_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(sitestest ${sitestest_SRCS})

128
target_link_libraries(sitestest  ${KDE4_KDECORE_LIBS} kcddb )
129
130
131
132
133
134
135
136
137
138
139
140
141

endif(KDE4_BUILD_TESTS)

########### next target ###############

set(utf8test_SRCS utf8test.cpp )

kde4_automoc(${utf8test_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(utf8test ${utf8test_SRCS})

142
target_link_libraries(utf8test  ${KDE4_KDECORE_LIBS} kcddb )
143
144
145
146
147
148
149
150
151
152
153
154
155

endif(KDE4_BUILD_TESTS)

########### next target ###############

set(musicbrainztest_SRCS musicbrainztest.cpp )

kde4_automoc(${musicbrainztest_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(musicbrainztest ${musicbrainztest_SRCS})

156
target_link_libraries(musicbrainztest  ${KDE4_KDECORE_LIBS} kcddb QtTest_debug )
157
158
159
160
161
162
163
164
165
166
167
168
169

endif(KDE4_BUILD_TESTS)

########### next target ###############

set(cdinfotest_SRCS cdinfotest.cpp )

kde4_automoc(${cdinfotest_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(cdinfotest ${cdinfotest_SRCS})

170
target_link_libraries(cdinfotest  ${KDE4_KDECORE_LIBS} kcddb QtTest_debug )
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243

endif(KDE4_BUILD_TESTS)

########### install files ###############


kde4_footer()



#original Makefile.am contents follow:

#INCLUDES = -I$(top_srcdir) -I$(top_builddir)/libkcddb $(all_includes)
#
#check_PROGRAMS = syncsmtpsubmittest asyncsmtpsubmittest asynchttplookuptest \
#	asynccddblookuptest synccddblookuptest synchttplookuptest \
#	asynchttpsubmittest synchttpsubmittest sitestest utf8test \
#	musicbrainztest cdinfotest
#
#AM_LDFLAGS = $(QT_LDFLAGS) $(X_LDFLAGS) $(KDE_RPATH)
#
#syncsmtpsubmittest_SOURCES = syncsmtpsubmittest.cpp
#syncsmtpsubmittest_LDFLAGS = $(all_libraries)
#syncsmtpsubmittest_LDADD = $(top_builddir)/libkcddb/libkcddb.la
#
#asyncsmtpsubmittest_SOURCES = asyncsmtpsubmittest.cpp
#asyncsmtpsubmittest_LDFLAGS = $(all_libraries)
#asyncsmtpsubmittest_LDADD = $(top_builddir)/libkcddb/libkcddb.la
#
#asynchttplookuptest_SOURCES = asynchttplookuptest.cpp
#asynchttplookuptest_LDFLAGS = $(all_libraries)
#asynchttplookuptest_LDADD = $(top_builddir)/libkcddb/libkcddb.la -lQtTest_debug
#
#asynccddblookuptest_SOURCES = asynccddblookuptest.cpp
#asynccddblookuptest_LDFLAGS = $(all_libraries)
#asynccddblookuptest_LDADD = $(top_builddir)/libkcddb/libkcddb.la
#
#synchttplookuptest_SOURCES = synchttplookuptest.cpp
#synchttplookuptest_LDFLAGS = $(all_libraries)
#synchttplookuptest_LDADD = $(top_builddir)/libkcddb/libkcddb.la
#
#synccddblookuptest_SOURCES = synccddblookuptest.cpp
#synccddblookuptest_LDFLAGS = $(all_libraries)
#synccddblookuptest_LDADD = $(top_builddir)/libkcddb/libkcddb.la -lQtTest_debug
#
#synchttpsubmittest_SOURCES = synchttpsubmittest.cpp
#synchttpsubmittest_LDFLAGS = $(all_libraries)
#synchttpsubmittest_LDADD = $(top_builddir)/libkcddb/libkcddb.la
#
#asynchttpsubmittest_SOURCES = asynchttpsubmittest.cpp
#asynchttpsubmittest_LDFLAGS = $(all_libraries)
#asynchttpsubmittest_LDADD = $(top_builddir)/libkcddb/libkcddb.la
#
#musicbrainztest_SOURCES = musicbrainztest.cpp
#musicbrainztest_LDFLAGS = $(all_libraries)
#musicbrainztest_LDADD = $(top_builddir)/libkcddb/libkcddb.la -lQtTest_debug
#
#utf8test_SOURCES = utf8test.cpp
#utf8test_LDFLAGS = $(all_libraries)
#utf8test_LDADD = $(top_builddir)/libkcddb/libkcddb.la
#
#sitestest_SOURCES = sitestest.cpp
#sitestest_LDFLAGS = $(all_libraries)
#sitestest_LDADD = $(top_builddir)/libkcddb/libkcddb.la
#
#cdinfotest_SOURCES = cdinfotest.cpp
#cdinfotest_LDFLAGS = $(all_libraries)
#cdinfotest_LDADD = $(top_builddir)/libkcddb/libkcddb.la -lQtTest_debug
#
#TESTS = synccddblookuptest cdinfotest asynchttplookuptest musicbrainztest
#
#METASOURCES = AUTO
#