Category "bazel-cpp"

How to reference bazel c++ protobuf output headers in a different workspace/package

I just started using Bazel a couple days ago in hopes of something better than CMake. I have a small library that contains only protobuf definitions in its own

How to use shell script that generates output files prior to subsequent Bazel build targets

I have a few protobuf files that I'm building with a shell script like so: proto.sh #!/usr/bin/env bash rm -rf ./proto-out mkdir -p proto-out protoc -Iproto --