Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @stuqdog
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
LDFLAGS = -L/usr/local/lib `pkg-config --libs protobuf grpc++ re2 libcares`\
-ldl -L../../../../target/debug -lviam_rust_utils

CXX = g++
CXXFLAGS += `pkg-config --cflags protobuf grpc`
CXXFLAGS += -std=c++11 -I src/gen/ -I src/gen/proto/

all: buf

buf: buf-clean
@mkdir -p src/gen
buf generate buf.build/googleapis/googleapis --template buf.gen.yaml --path google/rpc --path google/api
buf generate buf.build/viamrobotics/api --template buf.gen.yaml
buf-clean:
rm -rf src/gen/*
6 changes: 6 additions & 0 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: v1
plugins:
- name: cpp
out: src/gen/
- remote: buf.build/grpc/plugins/cpp:v1.45.2-1
out: src/gen/
176 changes: 176 additions & 0 deletions src/gen/app/data/v1/data.grpc.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading