CMakeLists.txt 3.3 KB
Newer Older
L
liuruilong 已提交
1

L
liuruilong 已提交
2 3 4
set(dir ${CMAKE_CURRENT_SOURCE_DIR})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${dir}/build")

L
liuruilong 已提交
5
# gen test
L
liuruilong 已提交
6
ADD_EXECUTABLE(test-conv-op  operators/test_cov_op.cpp test_helper.h  test_include.h executor_for_test.h)
L
liuruilong 已提交
7 8
target_link_libraries(test-conv-op paddle-mobile)

E
eclipsess 已提交
9 10 11 12 13 14 15 16
# gen test
ADD_EXECUTABLE(test-mul-op  operators/test_mul_op.cpp test_helper.h  test_include.h)
target_link_libraries(test-mul-op paddle-mobile)

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

E
eclipsess 已提交
17 18 19
# gen test
ADD_EXECUTABLE(test-concat-op  operators/test_concat_op.cpp test_helper.h  test_include.h)
target_link_libraries(test-concat-op paddle-mobile)
E
eclipsess 已提交
20

E
eclipsess 已提交
21 22 23 24
# gen test
ADD_EXECUTABLE(test-lrn-op  operators/test_lrn_op.cpp test_helper.h  test_include.h)
target_link_libraries(test-lrn-op paddle-mobile)

E
eclipsess 已提交
25 26 27 28
# gen test
ADD_EXECUTABLE(test-batchnorm-op  operators/test_batchnorm_op.cpp test_helper.h  test_include.h)
target_link_libraries(test-batchnorm-op paddle-mobile)

E
eclipsess 已提交
29 30 31 32
# gen test
ADD_EXECUTABLE(test-priorbox-op  operators/test_prior_box_op.cpp test_helper.h  test_include.h)
target_link_libraries(test-priorbox-op paddle-mobile)

E
eclipsess 已提交
33 34 35 36
# gen test
ADD_EXECUTABLE(test-boxcoder-op  operators/test_box_coder_op.cpp test_helper.h  test_include.h)
target_link_libraries(test-boxcoder-op paddle-mobile)

E
eclipsess 已提交
37 38 39 40
# gen test
ADD_EXECUTABLE(test-transpose-op  operators/test_transpose_op.cpp test_helper.h  test_include.h)
target_link_libraries(test-transpose-op paddle-mobile)

E
eclipsess 已提交
41 42 43 44
# gen test
ADD_EXECUTABLE(test-multiclassnms-op  operators/test_multiclass_nms_op.cpp test_helper.h  test_include.h)
target_link_libraries(test-multiclassnms-op paddle-mobile)

E
eclipsess 已提交
45 46 47
# gen test
ADD_EXECUTABLE(test-reshape-op  operators/test_reshape_op.cpp test_helper.h  test_include.h)
target_link_libraries(test-reshape-op paddle-mobile)
E
eclipsess 已提交
48

E
eclipsess 已提交
49 50 51
# gen test
ADD_EXECUTABLE(test-relu-op  operators/test_relu_op.cpp test_helper.h  test_include.h)
target_link_libraries(test-relu-op paddle-mobile)
E
eclipsess 已提交
52

E
eclipsess 已提交
53 54 55 56
# gen test
ADD_EXECUTABLE(test-fc-op  operators/test_fushion_fc_op.cpp test_helper.h  test_include.h)
target_link_libraries(test-fc-op paddle-mobile)

L
liuruilong 已提交
57 58 59 60 61 62
# 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)
L
liuruilong 已提交
63 64 65
target_link_libraries(test-load paddle-mobile)

# gen test log
66
# gen test
L
liuruilong 已提交
67
ADD_EXECUTABLE(test-optimize framework/test_optimize.cpp)
L
liuruilong 已提交
68
target_link_libraries(test-optimize paddle-mobile)
69 70 71


#gen test
L
liuruilong 已提交
72
ADD_EXECUTABLE(test-pool operators/test_pool_op.cpp test_helper.h test_include.h executor_for_test.h)
Z
zhaojiaying01 已提交
73 74
target_link_libraries(test-pool paddle-mobile)

W
wangliu 已提交
75
#gen test
L
liuruilong 已提交
76
ADD_EXECUTABLE(test-softmax operators/test_softmax_op.cpp test_helper.h test_include.h executor_for_test.h)
W
wangliu 已提交
77 78
target_link_libraries(test-softmax paddle-mobile)

Z
zhaojiaying01 已提交
79 80
# gen test
ADD_EXECUTABLE(test-gemm common/test_gemm.cpp)
L
liuruilong 已提交
81 82 83
target_link_libraries(test-gemm paddle-mobile)

# gen test
L
liuruilong 已提交
84
ADD_EXECUTABLE(test-enforce common/test_enforce.cpp)
85
target_link_libraries(test-enforce paddle-mobile)
L
liuruilong 已提交
86 87

# gen test
L
liuruilong 已提交
88
ADD_EXECUTABLE(test-googlenet net/test_googlenet.cpp test_helper.h  test_include.h executor_for_test.h)
L
liuruilong 已提交
89
target_link_libraries(test-googlenet paddle-mobile)
W
wangliu 已提交
90 91 92 93

# gen test
ADD_EXECUTABLE(test-sigmoid operators/test_sigmoid_op.cpp  test_include.h)
target_link_libraries(test-sigmoid paddle-mobile)