CMakeLists.txt 18.1 KB
Newer Older
L
liuruilong 已提交
1 2
set(dir ${CMAKE_CURRENT_SOURCE_DIR})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${dir}/build")
3
set(FOUND_MATCH OFF)
L
liuruilong 已提交
4

5 6 7 8 9 10
set(CON -1)

message(STATUS "nets :${NET}")

list(FIND NET "googlenet" CON)
if (CON GREATER -1)
11
    # gen test
12
    ADD_EXECUTABLE(test-googlenet net/test_googlenet.cpp test_helper.h test_include.h executor_for_test.h)
13
    target_link_libraries(test-googlenet paddle-mobile)
14

15 16 17
    # gen test
    ADD_EXECUTABLE(test-googlenet-quali net/test_googlenet_quali.cpp test_helper.h test_include.h executor_for_test.h)
    target_link_libraries(test-googlenet-quali paddle-mobile)
18 19 20 21 22 23
    set(FOUND_MATCH ON)

endif ()

list(FIND NET "mobilenet" CON)
if (CON GREATER -1)
24
    # gen test
25
    ADD_EXECUTABLE(test-mobilenet net/test_mobilenet.cpp test_helper.h test_include.h executor_for_test.h)
26
    target_link_libraries(test-mobilenet paddle-mobile)
27 28

    # gen test
29
    ADD_EXECUTABLE(test-mobilenet-combine net/test_mobilenet_combine.cpp test_helper.h test_include.h executor_for_test.h)
30
    target_link_libraries(test-mobilenet-combine paddle-mobile)
31 32
    set(FOUND_MATCH ON)

33 34 35 36
    # gen test
    ADD_EXECUTABLE(test-mobilenetgpu  net/test_mobilenet_GPU.cpp test_helper.h  test_include.h)
    target_link_libraries(test-mobilenetgpu paddle-mobile)

37
endif ()
38

39 40
list(FIND NET "yolo" CON)
if (CON GREATER -1)
41
    # gen test
42
    ADD_EXECUTABLE(test-yolo net/test_yolo.cpp test_helper.h test_include.h executor_for_test.h)
43
    target_link_libraries(test-yolo paddle-mobile)
xiebaiyuan's avatar
xiebaiyuan 已提交
44
    # gen test
45 46
    ADD_EXECUTABLE(test-yolo-combined net/test_yolo_combined.cpp test_helper.h test_include.h executor_for_test.h)
    target_link_libraries(test-yolo-combined paddle-mobile)
47 48 49 50 51 52
    set(FOUND_MATCH ON)

endif ()

list(FIND NET "squeezenet" CON)
if (CON GREATER -1)
53
    # gen test
54
    ADD_EXECUTABLE(test-squeezenet net/test_squeezenet.cpp test_helper.h test_include.h executor_for_test.h)
55
    target_link_libraries(test-squeezenet paddle-mobile)
56 57 58 59 60 61
    set(FOUND_MATCH ON)

endif ()

list(FIND NET "resnet" CON)
if (CON GREATER -1)
62
    # gen test
63
    ADD_EXECUTABLE(test-resnet net/test_resnet.cpp test_helper.h test_include.h executor_for_test.h)
64
    target_link_libraries(test-resnet paddle-mobile)
65 66 67 68
    set(FOUND_MATCH ON)

endif ()

Z
zhangyang 已提交
69
list(FIND NET "FPGA_NET_V1" CON)
70 71
if (CON GREATER -1)
    ADD_EXECUTABLE(test-resnet50 fpga/test_resnet50.cpp test_helper.h test_include.h executor_for_test.h)
Z
zhangyang 已提交
72
    target_link_libraries(test-resnet50 paddle-mobile)
qnqinan's avatar
qnqinan 已提交
73

qnqinan's avatar
qnqinan 已提交
74
    ADD_EXECUTABLE(test-densebox fpga/test_densebox_combine.cpp test_helper.h test_include.h executor_for_test.h)
qnqinan's avatar
qnqinan 已提交
75 76
    target_link_libraries(test-densebox paddle-mobile)

Z
zhangyang0701 已提交
77 78 79
    ADD_EXECUTABLE(test-rfcn fpga/test_rfcn.cpp test_helper.h test_include.h executor_for_test.h)
    target_link_libraries(test-rfcn paddle-mobile)

J
jameswu2014 已提交
80 81 82
    ADD_EXECUTABLE(test-marker fpga/test_marker.cpp test_helper.h test_include.h executor_for_test.h)
    target_link_libraries(test-marker paddle-mobile)

83 84 85
    ADD_EXECUTABLE(test-rfcn-api fpga/test_rfcn_api.cpp)
    target_link_libraries(test-rfcn-api paddle-mobile)

J
jameswu2014 已提交
86

87
    set(FOUND_MATCH ON)
Z
zhangyang 已提交
88
endif ()
89

Z
zhangyang 已提交
90 91 92 93
list(FIND NET "FPGA_NET_V2" CON)
if (CON GREATER -1)
    ADD_EXECUTABLE(test-resnet50 fpga/test_resnet50.cpp test_helper.h test_include.h executor_for_test.h)
    target_link_libraries(test-resnet50 paddle-mobile)
Z
zhangyang 已提交
94 95 96

    ADD_EXECUTABLE(test-pe fpga/test_pe.cpp)
    target_link_libraries(test-pe paddle-mobile)
qnqinan's avatar
qnqinan 已提交
97

qnqinan's avatar
qnqinan 已提交
98
    ADD_EXECUTABLE(test-densebox fpga/test_densebox_combine.cpp test_helper.h test_include.h executor_for_test.h)
qnqinan's avatar
qnqinan 已提交
99 100
    target_link_libraries(test-densebox paddle-mobile)

Z
zhangyang 已提交
101
    set(FOUND_MATCH ON)
102 103 104 105
endif ()

list(FIND NET "mobilenetssd" CON)
if (CON GREATER -1)
106
    # gen test
107
    ADD_EXECUTABLE(test-mobilenetssd net/test_mobilenet+ssd.cpp test_helper.h test_include.h executor_for_test.h)
108
    target_link_libraries(test-mobilenetssd paddle-mobile)
109

110 111 112 113 114 115
    set(FOUND_MATCH ON)

endif ()

list(FIND NET "nlp" CON)
if (CON GREATER -1)
116
    # gen test
117
    ADD_EXECUTABLE(test-nlp net/test_nlp.cpp test_helper.h test_include.h executor_for_test.h)
118 119 120
    target_link_libraries(test-nlp paddle-mobile)

    # gen test
121
    ADD_EXECUTABLE(test-gru-op operators/test_gru_op.cpp test_helper.h test_include.h)
122
    target_link_libraries(test-gru-op paddle-mobile)
123 124 125 126 127 128
    set(FOUND_MATCH ON)

endif ()

list(FIND NET "mobilenetfssd" CON)
if (CON GREATER -1)
xiebaiyuan's avatar
xiebaiyuan 已提交
129
    # gen test
130
    ADD_EXECUTABLE(test-fssd net/test_mobilenet_025_fssd.cpp test_helper.h test_include.h)
xiebaiyuan's avatar
xiebaiyuan 已提交
131
    target_link_libraries(test-fssd paddle-mobile)
xiebaiyuan's avatar
xiebaiyuan 已提交
132

133 134 135 136 137 138
    set(FOUND_MATCH ON)

endif ()

list(FIND NET "genet" CON)
if (CON GREATER -1)
xiebaiyuan's avatar
xiebaiyuan 已提交
139
    # gen test
140
    ADD_EXECUTABLE(test-genet net/test_genet_combine.cpp test_helper.h test_include.h executor_for_test.h)
xiebaiyuan's avatar
xiebaiyuan 已提交
141
    target_link_libraries(test-genet paddle-mobile)
142 143 144
    set(FOUND_MATCH ON)

endif ()
L
liuruilong 已提交
145

146 147 148 149 150 151 152 153 154
list(FIND NET "super" CON)
if (CON GREATER -1)
    # gen test
    ADD_EXECUTABLE(test-super net/test_super.cpp test_helper.h test_include.h executor_for_test.h)
    target_link_libraries(test-super paddle-mobile)
    set(FOUND_MATCH ON)

endif ()

155
if (NOT FOUND_MATCH)
L
liuruilong 已提交
156
    # gen test
157
    ADD_EXECUTABLE(test-resnet net/test_resnet.cpp test_helper.h test_include.h executor_for_test.h)
L
liuruilong 已提交
158 159 160
    target_link_libraries(test-resnet paddle-mobile)

    # gen test
161
    ADD_EXECUTABLE(test-squeezenet net/test_squeezenet.cpp test_helper.h test_include.h executor_for_test.h)
L
liuruilong 已提交
162 163 164
    target_link_libraries(test-squeezenet paddle-mobile)

    # gen test
165
    ADD_EXECUTABLE(test-yolo net/test_yolo.cpp test_helper.h test_include.h executor_for_test.h)
L
liuruilong 已提交
166 167
    target_link_libraries(test-yolo paddle-mobile)

xiebaiyuan's avatar
xiebaiyuan 已提交
168
    # gen test
169
    ADD_EXECUTABLE(test_yolo_combined net/test_yolo_combined.cpp test_helper.h test_include.h executor_for_test.h)
xiebaiyuan's avatar
xiebaiyuan 已提交
170 171
    target_link_libraries(test_yolo_combined paddle-mobile)

L
liuruilong 已提交
172
    # gen test
173
    ADD_EXECUTABLE(test-googlenet net/test_googlenet.cpp test_helper.h test_include.h executor_for_test.h)
L
liuruilong 已提交
174 175
    target_link_libraries(test-googlenet paddle-mobile)

176 177 178 179
    # gen test
    ADD_EXECUTABLE(test-googlenet-quali net/test_googlenet_quali.cpp test_helper.h test_include.h executor_for_test.h)
    target_link_libraries(test-googlenet-quali paddle-mobile)

180
    # gen test
H
hjchen2 已提交
181
    ADD_EXECUTABLE(test-conv-op operators/test_conv_op.cpp test_helper.h test_include.h executor_for_test.h)
182 183 184
    target_link_libraries(test-conv-op paddle-mobile)

    # gen test
185
    ADD_EXECUTABLE(test-mul-op operators/test_mul_op.cpp test_helper.h test_include.h)
186 187 188
    target_link_libraries(test-mul-op paddle-mobile)

    # gen test
189
    ADD_EXECUTABLE(test-elementwiseadd-op operators/test_elementwise_add_op.cpp test_helper.h test_include.h)
190 191 192
    target_link_libraries(test-elementwiseadd-op paddle-mobile)

    # gen test
193 194 195 196 197 198 199 200
    ADD_EXECUTABLE(test-elementwisesub-op operators/test_elementwise_sub_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-elementwisesub-op paddle-mobile)

    # gen test
    ADD_EXECUTABLE(test-im2sequence-op operators/test_im2sequence_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-im2sequence-op paddle-mobile)

	# gen test
201
    ADD_EXECUTABLE(test-concat-op operators/test_concat_op.cpp test_helper.h test_include.h)
202 203 204
    target_link_libraries(test-concat-op paddle-mobile)

    # gen test
205
    ADD_EXECUTABLE(test-lrn-op operators/test_lrn_op.cpp test_helper.h test_include.h)
206 207 208
    target_link_libraries(test-lrn-op paddle-mobile)

    # gen test
209
    ADD_EXECUTABLE(test-batchnorm-op operators/test_batchnorm_op.cpp test_helper.h test_include.h)
210 211 212
    target_link_libraries(test-batchnorm-op paddle-mobile)

    # gen test
213
    ADD_EXECUTABLE(test-priorbox-op operators/test_prior_box_op.cpp test_helper.h test_include.h)
214 215 216
    target_link_libraries(test-priorbox-op paddle-mobile)

    # gen test
217
    ADD_EXECUTABLE(test-boxcoder-op operators/test_box_coder_op.cpp test_helper.h test_include.h)
218 219 220
    target_link_libraries(test-boxcoder-op paddle-mobile)

    # gen test
221
    ADD_EXECUTABLE(test-transpose-op operators/test_transpose_op.cpp test_helper.h test_include.h)
222 223
    target_link_libraries(test-transpose-op paddle-mobile)

L
lijiancheng0614 已提交
224 225 226 227
    # gen test
    ADD_EXECUTABLE(test-transpose2-op operators/test_transpose2_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-transpose2-op paddle-mobile)

228
    # gen test
229
    ADD_EXECUTABLE(test-multiclassnms-op operators/test_multiclass_nms_op.cpp test_helper.h test_include.h)
230 231
    target_link_libraries(test-multiclassnms-op paddle-mobile)

L
lijiancheng0614 已提交
232 233 234 235
    # gen test
    ADD_EXECUTABLE(test-polygon-box-transform-op operators/test_polygon_box_transform_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-polygon-box-transform-op paddle-mobile)

L
lijiancheng0614 已提交
236 237 238 239
    # gen test
    ADD_EXECUTABLE(test-fill-constant-op operators/test_fill_constant_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-fill-constant-op paddle-mobile)

240
    # gen test
241
    ADD_EXECUTABLE(test-reshape-op operators/test_reshape_op.cpp test_helper.h test_include.h)
242 243
    target_link_libraries(test-reshape-op paddle-mobile)

L
lijiancheng0614 已提交
244 245 246 247
    # gen test
    ADD_EXECUTABLE(test-reshape2-op operators/test_reshape2_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-reshape2-op paddle-mobile)

248
    # gen test
249
    ADD_EXECUTABLE(test-relu-op operators/test_relu_op.cpp test_helper.h test_include.h)
250 251
    target_link_libraries(test-relu-op paddle-mobile)

H
hjchen2 已提交
252 253 254
    ADD_EXECUTABLE(test-relu6-op operators/test_relu6_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-relu6-op paddle-mobile)

255 256 257 258 259 260
    ADD_EXECUTABLE(test-tanh-op operators/test_tanh_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-tanh-op paddle-mobile)

    ADD_EXECUTABLE(test-log-op operators/test_log_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-log-op paddle-mobile)

H
hjchen2 已提交
261 262 263 264 265 266
    ADD_EXECUTABLE(test-topk-op operators/test_topk_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-topk-op paddle-mobile)

    ADD_EXECUTABLE(test-cast-op operators/test_cast_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-cast-op paddle-mobile)

267 268 269
    ADD_EXECUTABLE(test-less-than-op operators/test_less_than_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-less-than-op paddle-mobile)

270
    # gen test
271
    ADD_EXECUTABLE(test-fc-op operators/test_fusion_fc_op.cpp test_helper.h test_include.h)
272 273
    target_link_libraries(test-fc-op paddle-mobile)

E
debug  
eclipsess 已提交
274 275 276 277
    # gen test
    ADD_EXECUTABLE(test-sum-op operators/test_sum_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-sum-op paddle-mobile)

H
hjchen2 已提交
278 279 280 281 282 283 284 285
    # test quantize op
    ADD_EXECUTABLE(test-quantize-op operators/test_quantize_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-quantize-op paddle-mobile)

    # test dequantize op
    ADD_EXECUTABLE(test-dequantize-op operators/test_dequantize_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-dequantize-op paddle-mobile)

286 287 288 289 290 291 292 293
    # gen test log
    ADD_EXECUTABLE(test-log common/test_log.cpp)
    target_link_libraries(test-log paddle-mobile)

    # gen test log
    ADD_EXECUTABLE(test-load framework/test_load.cpp)
    target_link_libraries(test-load paddle-mobile)

294 295 296 297
    # gen test log
    ADD_EXECUTABLE(test-loadmemory framework/test_load_memory.cpp)
    target_link_libraries(test-loadmemory paddle-mobile)

xiebaiyuan's avatar
xiebaiyuan 已提交
298 299 300 301
    # gen test log
    ADD_EXECUTABLE(test-loadmemory-inference framework/test_load_memory_inference_api.cpp)
    target_link_libraries(test-loadmemory-inference paddle-mobile)

N
nhzlx 已提交
302 303 304
    ADD_EXECUTABLE(test-inference-api framework/test_inference_api.cpp)
    target_link_libraries(test-inference-api paddle-mobile)

305 306 307 308 309
    # gen test
    ADD_EXECUTABLE(test-optimize framework/test_optimize.cpp)
    target_link_libraries(test-optimize paddle-mobile)

    #gen test
Z
ZhenWang 已提交
310 311
    ADD_EXECUTABLE(test-pool-op operators/test_pool_op.cpp test_helper.h test_include.h executor_for_test.h)
    target_link_libraries(test-pool-op paddle-mobile)
312 313

    #gen test
H
hjchen2 已提交
314 315
    ADD_EXECUTABLE(test-softmax-op operators/test_softmax_op.cpp test_helper.h test_include.h executor_for_test.h)
    target_link_libraries(test-softmax-op paddle-mobile)
316 317

    # gen test
318 319 320
    ADD_EXECUTABLE(test-gemm-accuracy common/test_gemm_accuracy.cpp)
    target_link_libraries(test-gemm-accuracy paddle-mobile)

Z
Zhen Wang 已提交
321 322 323 324
    # gen test
    ADD_EXECUTABLE(test-gemm-int8-accuracy common/test_gemm_int8_accuracy.cpp)
    target_link_libraries(test-gemm-int8-accuracy paddle-mobile)

325 326 327
    # gen test
    ADD_EXECUTABLE(test-gemm-perf common/test_gemm_perf.cpp)
    target_link_libraries(test-gemm-perf paddle-mobile)
W
wangliu 已提交
328

329 330 331
    # gen test
    ADD_EXECUTABLE(test-enforce common/test_enforce.cpp)
    target_link_libraries(test-enforce paddle-mobile)
L
liuruilong 已提交
332

D
dolphin8 已提交
333
    # gen test - test if openmp works
L
liuruilong 已提交
334
    ADD_EXECUTABLE(test-openmp common/test_openmp.cpp test_helper.h test_include.h executor_for_test.h)
D
dolphin8 已提交
335
    target_link_libraries(test-openmp paddle-mobile)
L
liuruilong 已提交
336

337
    # gen test
338
    ADD_EXECUTABLE(test-mobilenetssd net/test_mobilenet+ssd.cpp test_helper.h test_include.h executor_for_test.h)
339
    target_link_libraries(test-mobilenetssd paddle-mobile)
E
eclipsess 已提交
340

341 342
    # gen test
    ADD_EXECUTABLE(test-mobilenet-combine net/test_mobilenet_combine.cpp test_helper.h test_include.h executor_for_test.h)
343 344
    target_link_libraries(test-mobilenet-combine paddle-mobile)

345
    # gen test
346
    ADD_EXECUTABLE(test-genet net/test_genet_combine.cpp test_helper.h test_include.h executor_for_test.h)
347 348
    target_link_libraries(test-genet paddle-mobile)

349
    # gen test
350 351
    ADD_EXECUTABLE(test-sigmoid-op operators/test_sigmoid_op.cpp test_include.h)
    target_link_libraries(test-sigmoid-op paddle-mobile)
W
wangliu 已提交
352

353 354 355
    # gen test
    ADD_EXECUTABLE(test-depthwise-conv-op operators/test_depthwise_conv_op.cpp test_helper.h test_include.h executor_for_test.h)
    target_link_libraries(test-depthwise-conv-op paddle-mobile)
E
eclipsess 已提交
356

L
liuruilong 已提交
357
    # gen test
358
    ADD_EXECUTABLE(test-mobilenet net/test_mobilenet.cpp test_helper.h test_include.h executor_for_test.h)
L
liuruilong 已提交
359 360
    target_link_libraries(test-mobilenet paddle-mobile)

L
liuruilong 已提交
361
    # gen test
362
    ADD_EXECUTABLE(test-conv-add-relu-op operators/test_conv_add_relu_op.cpp test_helper.h test_include.h executor_for_test.h)
L
liuruilong 已提交
363 364
    target_link_libraries(test-conv-add-relu-op paddle-mobile)

365
    # gen test
366
    ADD_EXECUTABLE(test-conv-add-bn-relu-op operators/test_fusion_conv_add_bn_relu_op.cpp test_helper.h test_include.h executor_for_test.h)
367 368
    target_link_libraries(test-conv-add-bn-relu-op paddle-mobile)

xiebaiyuan's avatar
xiebaiyuan 已提交
369
    # gen test
370
    ADD_EXECUTABLE(test-nlp net/test_nlp.cpp test_helper.h test_include.h executor_for_test.h)
xiebaiyuan's avatar
xiebaiyuan 已提交
371 372 373
    target_link_libraries(test-nlp paddle-mobile)

    # gen test
374
    ADD_EXECUTABLE(test-gru-op operators/test_gru_op.cpp test_helper.h test_include.h)
xiebaiyuan's avatar
xiebaiyuan 已提交
375 376
    target_link_libraries(test-gru-op paddle-mobile)

Y
yangfei 已提交
377
    # gen test
Y
yangfei 已提交
378

379
    ADD_EXECUTABLE(test-inceptionv4 net/test_inceptionv4.cpp test_helper.h test_include.h executor_for_test.h)
Y
yangfei 已提交
380 381 382
    target_link_libraries(test-inceptionv4 paddle-mobile)

    # gen test
383
    ADD_EXECUTABLE(test-alexnet net/test_alexnet.cpp test_helper.h test_include.h executor_for_test.h)
Y
yangfei 已提交
384 385
    target_link_libraries(test-alexnet paddle-mobile)

386
    ADD_EXECUTABLE(test-googlenetv1 net/test_googlenetv1_combine.cpp test_helper.h test_include.h)
387 388 389
    target_link_libraries(test-googlenetv1 paddle-mobile)

    # gen test
390
    ADD_EXECUTABLE(test-fssd net/test_mobilenet_025_fssd.cpp test_helper.h test_include.h)
391 392
    target_link_libraries(test-fssd paddle-mobile)

Y
yangfei 已提交
393 394 395 396
    # gen test
    ADD_EXECUTABLE(test-mobilenetgpu  net/test_mobilenet_GPU.cpp test_helper.h  test_include.h)
    target_link_libraries(test-mobilenetgpu paddle-mobile)

Y
yangfei 已提交
397 398 399
    # gen test
    ADD_EXECUTABLE(test-yologpu net/test_yologpu.cpp test_helper.h  test_include.h executor_for_test.h)
    target_link_libraries(test-yologpu paddle-mobile)
Y
yangfei 已提交
400

401 402 403 404
    # gen test
    ADD_EXECUTABLE(test-multi-process net/test_multi_inference_predict.cpp test_helper.h test_include.h)
    target_link_libraries(test-multi-process paddle-mobile)

405 406 407
    # gen test benchmark
    ADD_EXECUTABLE(test-benchmark net/test_benchmark.cpp)
    target_link_libraries(test-benchmark paddle-mobile)
408

409 410 411 412
    # gen test
    ADD_EXECUTABLE(test-eng net/test_eng.cpp test_helper.h test_include.h)
    target_link_libraries(test-eng paddle-mobile)

413 414 415
    # gen test
    ADD_EXECUTABLE(test-super net/test_super.cpp test_helper.h test_include.h)
    target_link_libraries(test-super paddle-mobile)
416 417 418 419
   
    # gen test
    ADD_EXECUTABLE(test-ocr net/test_ocr.cpp test_helper.h test_include.h)
    target_link_libraries(test-ocr paddle-mobile)
H
hjchen2 已提交
420

421 422
    ADD_EXECUTABLE(test-sequence-expand-op operators/test_sequence_expand_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-sequence-expand-op paddle-mobile)
H
hjchen2 已提交
423

424 425
    ADD_EXECUTABLE(test-sequence-pool-op operators/test_sequence_pool_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-sequence-pool-op paddle-mobile)
H
hjchen2 已提交
426

427 428
    ADD_EXECUTABLE(test-sequence-softmax-op operators/test_sequence_softmax_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-sequence-softmax-op paddle-mobile)
H
hjchen2 已提交
429 430 431 432 433

    # gen test
    ADD_EXECUTABLE(test-vgg16ssd net/test_vgg16ssd.cpp test_helper.h test_include.h)
    target_link_libraries(test-vgg16ssd paddle-mobile)

434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449
    # gen test
    ADD_EXECUTABLE(test-logical-and-op operators/test_logical_and_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-logical-and-op paddle-mobile)

    # gen test
    ADD_EXECUTABLE(test-logical-or-op operators/test_logical_or_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-logical-or-op paddle-mobile)

    # gen test
    ADD_EXECUTABLE(test-logical-not-op operators/test_logical_not_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-logical-not-op paddle-mobile)

    # gen test
    ADD_EXECUTABLE(test-logical-xor-op operators/test_logical_xor_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-logical-xor-op paddle-mobile)

Z
zhaojiaying01 已提交
450 451 452 453 454 455 456 457
    # gen test
    ADD_EXECUTABLE(test-increment-op operators/test_increment_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-increment-op paddle-mobile)

    # gen test
    ADD_EXECUTABLE(test-is-empty-op operators/test_is_empty_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-is-empty-op paddle-mobile)

458 459 460 461 462
    ADD_EXECUTABLE(test-conv-bn-relu-op operators/test_conv_bn_relu_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-conv-bn-relu-op paddle-mobile)

    ADD_EXECUTABLE(test-dwconv-bn-relu-op operators/test_dwconv_bn_relu_op.cpp test_helper.h test_include.h)
    target_link_libraries(test-dwconv-bn-relu-op paddle-mobile)
463
endif ()