CMakeLists.txt 782 字节
Newer Older
Y
Yan Chunwei 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
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)
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 
    nb_op_desc nb_var_desc nb_param_desc 
    nb_block_desc nb_program_desc PARENT_SCOPE)

lite_cc_test(test_naive_buffer SRCS naive_buffer_test.cc DEPS naive_buffer)
lite_cc_test(test_naive_buffer_wrapper SRCS naive_buffer_wrapper_test.cc 
             DEPS nb_op_desc nb_var_desc nb_param_desc nb_block_desc
             nb_program_desc)