CMakeLists.txt 308 字节
Newer Older
Q
Qiao Longfei 已提交
1 2 3 4 5 6
## add storage_proto as target
protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS storage.proto)
add_library(storage_proto ${PROTO_SRCS})
add_dependencies(storage_proto protobuf)

## add storage as target
S
superjom 已提交
7
add_library(storage storage.cc storage.h ${PROTO_SRCS} ${PROTO_HDRS})
Q
Qiao Longfei 已提交
8
add_dependencies(storage storage_proto)