CMakeLists.txt 897 字节
Newer Older
S
superjomn 已提交
1 2
#cc_library(runtime_lite SRCS runtime.cc)

Y
Yan Chunwei 已提交
3
#TODO(Superjomn) enable it again.
C
Chunwei 已提交
4
if(NOT LITE_ON_MOBILE)
Y
Yan Chunwei 已提交
5 6 7 8 9 10 11
    lite_cc_test(test_model_parser_lite SRCS model_parser_test.cc
      DEPS model_parser_lite framework_proto_lite
      ARGS --model_dir=${LITE_MODEL_DIR}/lite_naive_model)
    if(WITH_TESTING)
        add_dependencies(test_model_parser_lite extern_lite_download_lite_naive_model_tar_gz)
    endif(WITH_TESTING)
endif()
S
superjomn 已提交
12 13


Y
Yan Chunwei 已提交
14
cc_library(compatible_pb_lite SRCS compatible_pb.cc DEPS op_desc_lite framework_proto_lite var_desc_lite)
15

C
Chunwei 已提交
16 17 18 19 20 21
lite_cc_library(model_parser_lite SRCS model_parser.cc DEPS
    variable_lite scope_lite ${tensor_lite} scope_lite
    target_wrapper_host
    compatible_pb_lite
    memory_lite
    CUDA_DEPS target_wrapper_cuda)
22

Y
Yan Chunwei 已提交
23
lite_cc_test(test_op_desc_lite SRCS op_desc_test.cc DEPS cpp_op_desc_lite op_desc_lite compatible_pb_lite)
Y
Yan Chunwei 已提交
24

C
Chunwei 已提交
25

26
add_subdirectory(pb)
Y
Yan Chunwei 已提交
27
add_subdirectory(cpp)