Skip to content

Commit

Permalink
Added ExampleModule protobuf files (#14)
Browse files Browse the repository at this point in the history
* Added ExampleModule protobuf files

* Rename Protobuf files
  • Loading branch information
Melky-Phoe authored Feb 15, 2024
1 parent 7d51061 commit 68397c8
Show file tree
Hide file tree
Showing 6 changed files with 2,729 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/protobuf_parsing_example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ SET(CMAKE_CXX_STANDARD 20)

SET(CMAKE_BUILD_RPATH_USE_ORIGIN ON)

FILE(GLOB_RECURSE source_files "source/*")
FILE(GLOB_RECURSE source_files "source/*" "lib/protobuf/*")
ADD_LIBRARY(parsing_example_lib STATIC ${source_files})
TARGET_INCLUDE_DIRECTORIES(parsing_example_lib PUBLIC "include/")
TARGET_INCLUDE_DIRECTORIES(parsing_example_lib PUBLIC "include/" "lib/protobuf/")
TARGET_LINK_LIBRARIES(parsing_example_lib PUBLIC ${PROJECT_NAME}::protobuf_cpp)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <modules/ExampleModule.pb.h>
#include <ProtobufModule.pb.h>
#include <InternalProtocol.pb.h>
#include <ExternalProtocol.pb.h>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <modules/ExampleModule.pb.h>
#include <ProtobufModule.pb.h>
#include <InternalProtocol.pb.h>
#include <ExternalProtocol.pb.h>

Expand Down
Loading

0 comments on commit 68397c8

Please sign in to comment.