1 Star 0 Fork 0

genrwoody / convert_proto_struct

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CMakeLists.txt 518 Bytes
一键复制 编辑 原始数据 按行查看 历史
genrwoody 提交于 2022-07-01 00:20 . modify test.
cmake_minimum_required(VERSION 3.2)
project(convert_proto_struct)
find_package(Protobuf REQUIRED)
include_directories(${Protobuf_INCLUDE_DIRS})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS
test/message.proto
)
include_directories(src)
add_executable(test_cps
test/main.cpp
test/message.h
src/convert_proto_struct.cpp
src/convert_proto_struct.h
${PROTO_SRCS}
${PROTO_HDRS}
)
target_link_libraries(test_cps PRIVATE protobuf::libprotobuf)
C++
1
https://gitee.com/genrwoody/convert_proto_struct.git
git@gitee.com:genrwoody/convert_proto_struct.git
genrwoody
convert_proto_struct
convert_proto_struct
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891