Merge branch 'master' of https://github.com/google/flatbuffers
This commit is contained in:
commit
6e177bf03f
|
@ -63,6 +63,13 @@ function(build_flatbuffers flatbuffers_schemas
|
|||
set(FLATC_TARGET flatc)
|
||||
set(FLATC flatc)
|
||||
endif()
|
||||
set(FLATC_SCHEMA_ARGS --gen-mutable)
|
||||
if(FLATBUFFERS_FLATC_SCHEMA_EXTRA_ARGS)
|
||||
set(FLATC_SCHEMA_ARGS
|
||||
${FLATBUFFERS_FLATC_SCHEMA_EXTRA_ARGS}
|
||||
${FLATC_SCHEMA_ARGS}
|
||||
)
|
||||
endif()
|
||||
|
||||
set(schema_glob "*.fbs")
|
||||
# Generate the include files parameters.
|
||||
|
@ -86,7 +93,7 @@ function(build_flatbuffers flatbuffers_schemas
|
|||
set(generated_include ${generated_includes_dir}/${filename}_generated.h)
|
||||
add_custom_command(
|
||||
OUTPUT ${generated_include}
|
||||
COMMAND ${FLATC} --gen-mutable
|
||||
COMMAND ${FLATC} ${FLATC_SCHEMA_ARGS}
|
||||
-o ${generated_includes_dir}
|
||||
${include_params}
|
||||
-c ${schema}
|
||||
|
|
1432
src/idl_gen_cpp.cpp
1432
src/idl_gen_cpp.cpp
File diff suppressed because it is too large
Load Diff
|
@ -23,10 +23,6 @@ namespace NamespaceA {
|
|||
|
||||
struct SecondTableInA;
|
||||
|
||||
} // namespace NamespaceA
|
||||
|
||||
namespace NamespaceA {
|
||||
|
||||
struct TableInFirstNS FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
|
||||
enum {
|
||||
VT_FOO_TABLE = 4,
|
||||
|
|
Loading…
Reference in New Issue