mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
Add --gen-absl-hash option to generate AbslHashValue for structs. (#8868)
This commit is contained in:
@@ -529,6 +529,8 @@ FlatCOptions FlatCompiler::ParseFromCommandLineArguments(int argc,
|
||||
opts.generate_object_based_api = true;
|
||||
} else if (arg == "--gen-compare") {
|
||||
opts.gen_compare = true;
|
||||
} else if (arg == "--gen-absl-hash") {
|
||||
opts.gen_absl_hash = true;
|
||||
} else if (arg == "--cpp-include") {
|
||||
if (++argi >= argc) Error("missing include following: " + arg, true);
|
||||
opts.cpp_includes.push_back(argv[argi]);
|
||||
|
||||
Reference in New Issue
Block a user