Added --keep-prefix to not strip schema include path in C++ includes.

Change-Id: I3c6356fc6664072796f273096df64829108b4a34
Tested: on Linux.
This commit is contained in:
Wouter van Oortmerssen
2017-05-10 13:21:20 -07:00
parent 04d734d6d2
commit 93c0960c3a
4 changed files with 10 additions and 2 deletions

View File

@@ -358,6 +358,7 @@ struct IDLOptions {
bool union_value_namespacing;
bool allow_non_utf8;
std::string include_prefix;
bool keep_include_path;
bool binary_schema_comments;
bool skip_flatbuffers_import;
std::string go_namespace;
@@ -403,6 +404,7 @@ struct IDLOptions {
cpp_object_api_pointer_type("std::unique_ptr"),
union_value_namespacing(true),
allow_non_utf8(false),
keep_include_path(false),
binary_schema_comments(false),
skip_flatbuffers_import(false),
reexport_ts_modules(true),