mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-30 21:20:03 +00:00
Add support for fixed-size arrays (#5313)
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
0d2cebccfe
commit
e635141d5b
17
BUILD
17
BUILD
@@ -164,11 +164,15 @@ cc_test(
|
||||
":tests/union_vector/union_vector.json",
|
||||
":tests/monster_extra.fbs",
|
||||
":tests/monsterdata_extra.json",
|
||||
":tests/arrays_test.bfbs",
|
||||
":tests/arrays_test.fbs",
|
||||
":tests/arrays_test.golden",
|
||||
],
|
||||
includes = ["include/"],
|
||||
deps = [
|
||||
":monster_extra_cc_fbs",
|
||||
":monster_test_cc_fbs",
|
||||
":arrays_test_cc_fbs",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -188,3 +192,16 @@ flatbuffer_cc_library(
|
||||
name = "monster_extra_cc_fbs",
|
||||
srcs = ["tests/monster_extra.fbs"],
|
||||
)
|
||||
|
||||
flatbuffer_cc_library(
|
||||
name = "arrays_test_cc_fbs",
|
||||
srcs = ["tests/arrays_test.fbs"],
|
||||
flatc_args = [
|
||||
"--gen-object-api",
|
||||
"--gen-compare",
|
||||
"--no-includes",
|
||||
"--gen-mutable",
|
||||
"--reflect-names",
|
||||
"--cpp-ptr-type flatbuffers::unique_ptr",
|
||||
"--scoped-enums" ],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user