(Optionally) add an additional suffix namespace to generated fbs files. (#5698)

This change allows for the generation of fbs files (from proto) that
don't contain name collisions with the protobuf generated C++ code,
allowing both the proto and fbs message types to be linked into the same binary.
This commit is contained in:
Michael Beardsworth
2020-01-06 10:00:59 -08:00
committed by Wouter van Oortmerssen
parent 35daaf83d3
commit 21b7061963
7 changed files with 190 additions and 0 deletions

View File

@@ -45,8 +45,10 @@ cc_test(
":prototest/test.golden",
":prototest/test.proto",
":prototest/test_include.golden",
":prototest/test_suffix.golden",
":prototest/test_union.golden",
":prototest/test_union_include.golden",
":prototest/test_union_suffix.golden",
":unicode_test.json",
":union_vector/union_vector.fbs",
":union_vector/union_vector.json",