CMakeLists.txt 966 字节
Newer Older
Y
Yan Chunwei 已提交
1 2 3 4 5 6 7
lite_cc_library(naive_buffer SRCS naive_buffer.cc DEPS types)

add_subdirectory(proto)

lite_cc_library(nb_op_desc SRCS op_desc.cc DEPS framework_nb)
lite_cc_library(nb_var_desc SRCS var_desc.cc DEPS framework_nb)
lite_cc_library(nb_param_desc SRCS param_desc.cc DEPS framework_nb)
Y
Yan Chunwei 已提交
8
lite_cc_library(nb_combined_params_desc SRCS combined_params_desc.cc DEPS nb_param_desc framework_nb)
Y
Yan Chunwei 已提交
9 10 11 12
lite_cc_library(nb_block_desc SRCS block_desc.cc DEPS framework_nb)
lite_cc_library(nb_program_desc SRCS program_desc.cc DEPS framework_nb)

set(naive_wrapper 
Y
Yan Chunwei 已提交
13
    nb_op_desc nb_var_desc nb_param_desc nb_combined_params_desc
Y
Yan Chunwei 已提交
14 15
    nb_block_desc nb_program_desc PARENT_SCOPE)

16 17 18
if(NOT WITH_COVERAGE)
    lite_cc_test(test_naive_buffer SRCS naive_buffer_test.cc DEPS naive_buffer)
endif()
Y
Yan Chunwei 已提交
19
lite_cc_test(test_naive_buffer_wrapper SRCS naive_buffer_wrapper_test.cc 
Y
Yan Chunwei 已提交
20 21
             DEPS nb_op_desc nb_var_desc nb_param_desc nb_combined_params_desc 
             nb_block_desc nb_program_desc)