Make generating dependent include files for C++ the default.

--gen-includes is now deprecate but still accepted.
--no-includes can be used instead when needed.

Change-Id: I2cd46d193032b9b7c31c76c6f655e9333d3a393a
Tested: on Linux.
This commit is contained in:
Wouter van Oortmerssen
2015-06-15 12:29:06 -07:00
parent 5f091c46ce
commit 1808337adc
6 changed files with 14 additions and 7 deletions

View File

@@ -291,6 +291,7 @@ void ParseProtoTest() {
// Generate fbs.
flatbuffers::GeneratorOptions opts;
opts.include_dependence_headers = false;
auto fbs = flatbuffers::GenerateFBS(parser, "test", opts);
// Ensure generated file is parsable.