CMakeLists.txt 239 Bytes
Newer Older
zhujiashun's avatar
zhujiashun committed
1 2 3 4 5
include(FindProtobuf)
protobuf_generate_cpp(PROTO_SRC PROTO_HEADER view.proto)
include_directories(${CMAKE_CURRENT_BINARY_DIR})

add_executable(rpc_view rpc_view.cpp ${PROTO_SRC})
6
target_link_libraries(rpc_view brpc-static ${DYNAMIC_LIB})