1835 daps refactor proto proto3 with envelope#1841
Open
JoshuaSBrown wants to merge 5 commits intodevelfrom
Open
1835 daps refactor proto proto3 with envelope#1841JoshuaSBrown wants to merge 5 commits intodevelfrom
JoshuaSBrown wants to merge 5 commits intodevelfrom
Conversation
…hat was there before, update INCLUDE directive in CMakeLists.txt from proto to proto3
…e consistent and the addition of files to CMake Variable
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideRefactors the common proto3 CMake configuration to automatically discover and generate C++ code for protobufs in a new directory layout, including an envelope proto, instead of relying on a previous, likely hard‑coded list. Flow diagram for CMake proto discovery and C++ generationflowchart LR
A[CMake configuration
common/proto3/common/CMakeLists.txt] --> B[File discovery with GLOB_RECURSE
ProtoFiles]
B --> C[Collect *.proto from
enums/]
B --> D[Collect *.proto from
messages/]
B --> E[Collect *.proto from
anon/]
B --> F[Collect *.proto from
auth/]
B --> G[Collect envelope.proto]
C --> H[Aggregated ProtoFiles list]
D --> H
E --> H
F --> H
G --> H
H --> I[protobuf_generate LANGUAGE cpp
OUTPUT C++ sources/headers]
I --> J[Compile generated C++
into common proto library]
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Consider adding CONFIGURE_DEPENDS to the file(GLOB_RECURSE ...) call so that CMake regenerates the build system when new .proto files are added to these directories.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider adding CONFIGURE_DEPENDS to the file(GLOB_RECURSE ...) call so that CMake regenerates the build system when new .proto files are added to these directories.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket
Description
How Has This Been Tested?
Artifacts (if appropriate):
Tasks
Summary by Sourcery
Build: