-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Example: prog = cxx.Program('prog') protos = builder.tools.Protoc(sources = ['myproto.proto']) prog.custom += [protos] To make this work, protoc is now always executed in the top level of the build directory. This is kind of gross as we have to make sure all paths are relative to the root, rather than cwd. The alternative is running protoc once for each language, which would be fine, but the current thing is working.
- Loading branch information
Showing
2 changed files
with
43 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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