CMakeLists.txt 2.2 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)

L
liuruilong 已提交
37 38 39 40 41 42
# 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 已提交
43 44 45
target_link_libraries(test-load paddle-mobile)

# gen test log
46
# gen test
L
liuruilong 已提交
47
ADD_EXECUTABLE(test-optimize framework/test_optimize.cpp)
L
liuruilong 已提交
48
target_link_libraries(test-optimize paddle-mobile)
49 50 51


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

W
wangliu 已提交
55
#gen test
L
liuruilong 已提交
56
ADD_EXECUTABLE(test-softmax operators/test_softmax_op.cpp test_helper.h test_include.h executor_for_test.h)
W
wangliu 已提交
57 58
target_link_libraries(test-softmax paddle-mobile)

Z
zhaojiaying01 已提交
59 60
# gen test
ADD_EXECUTABLE(test-gemm common/test_gemm.cpp)
L
liuruilong 已提交
61 62 63
target_link_libraries(test-gemm paddle-mobile)

# gen test
L
liuruilong 已提交
64
ADD_EXECUTABLE(test-enforce common/test_enforce.cpp)
65
target_link_libraries(test-enforce paddle-mobile)