CMakeLists.txt 750 字节
Newer Older
W
wangguibao 已提交
1
include(proto/CMakeLists.txt)
W
wangguibao 已提交
2 3 4
include(common/CMakeLists.txt)
include(op/CMakeLists.txt)
include(framework/CMakeLists.txt)
W
wangguibao 已提交
5 6 7 8 9 10 11 12 13 14 15 16 17 18
add_library(predictor ${predictor_srcs})
set_source_files_properties(
        ${predictor_srcs}
        PROPERTIES
        COMPILE_FLAGS  "-Wno-non-virtual-dtor -Wno-error=non-virtual-dtor -Wno-error=delete-non-virtual-dtor")
add_dependencies(predictor protobuf boost brpc)
target_include_directories(predictor PUBLIC
        ${CMAKE_CURRENT_LIST_DIR}/
        ${CMAKE_CURRENT_BINARY_DIR}/
        ${CMAKE_CURRENT_LIST_DIR}/../configure
        ${CMAKE_CURRENT_LIST_DIR}/../mempool
        ${CMAKE_CURRENT_LIST_DIR}/../spreg
        ${CMAKE_CURRENT_LIST_DIR}/../ullib/include
        ${CMAKE_CURRENT_BINARY_DIR}/../bsl/include)