Skip to content

Commit

Permalink
Merge pull request #323 from helintongh/feat_proto_convert_to_struct_pb
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos authored Nov 21, 2024
2 parents 46ab4d8 + d07ad5a commit 1f99cb2
Show file tree
Hide file tree
Showing 5 changed files with 942 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tool/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
project(proto_to_struct)

cmake_minimum_required(VERSION 3.10)

set(CMAKE_CXX_STANDARD 20)

find_package(Protobuf REQUIRED)
include_directories(${PROTOBUF_INCLUDE_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR})

set(SOURCE_FILE proto_to_struct.cpp)

add_executable(proto_to_struct ${SOURCE_FILE})
target_link_libraries(proto_to_struct protobuf::libprotobuf protobuf::libprotoc pthread)
Loading

0 comments on commit 1f99cb2

Please sign in to comment.