flatbuffers/src
Alexander Gallego bc7ede8fb3 c++: Add command line option to add extra includes to gen files (#5360)
* c++: Add command line option to add extra includes to gen files

Fixes #5351
We have an ability to pass custom types for strings, allocators, etc
but have no way to tell the generator to include the classes in gen code

* c++: remove std::strtok for std::string methods. passes msvc compile

* generate_code.sh: add --cpp-includes to the test gen script

* tests:generate.bat: update code gen scripts w/ --cpp-includes

* cpp: use command line parsing for extra includes

s/--cpp-includes/--cpp-include/g
Simplify command line parsing of includes by using a std::vector.

* cpp: idl.h: move std::vector for cpp_includes as the last member

msvc does not understand initalization list on our CI server

* cpp:msvc: CI fails on for-range loops

* cpp:codegen: fix error reporting on flatcc

* as per code review: remove unwated --cpp-include in the
tests/generate_code.{sh,bat}
2019-05-31 13:43:30 -07:00
..
clang-format.sh
code_generators.cpp
flatc.cpp c++: Add command line option to add extra includes to gen files (#5360) 2019-05-31 13:43:30 -07:00
flatc_main.cpp Set default CRTReportMode for the flatc target (#5336) 2019-05-09 10:10:10 -07:00
flathash.cpp
idl_gen_cpp.cpp c++: Add command line option to add extra includes to gen files (#5360) 2019-05-31 13:43:30 -07:00
idl_gen_dart.cpp Fix out-of-range error (MSVC2010) in idl_gen_dart.cpp (#5335) 2019-05-09 10:05:21 -07:00
idl_gen_fbs.cpp Fix issues with uint64 enums (#5265) 2019-05-02 13:57:58 -07:00
idl_gen_general.cpp Break internal Java/C# APIs 2019-05-31 13:00:55 -07:00
idl_gen_go.cpp Fixed warnings in idl_gen_go.cpp 2019-05-21 18:54:26 -07:00
idl_gen_grpc.cpp
idl_gen_js_ts.cpp [JS/TS] Size prefix support (#5326) 2019-05-16 11:43:31 -07:00
idl_gen_json_schema.cpp Part of #5265, neutral changes (#5281) 2019-04-08 10:05:50 -07:00
idl_gen_lobster.cpp Lobster: added builder API for tables 2019-05-22 19:42:13 -07:00
idl_gen_lua.cpp Fix issues with uint64 enums (#5265) 2019-05-02 13:57:58 -07:00
idl_gen_php.cpp Fix issues with uint64 enums (#5265) 2019-05-02 13:57:58 -07:00
idl_gen_python.cpp Fix issues with uint64 enums (#5265) 2019-05-02 13:57:58 -07:00
idl_gen_rust.cpp Fix issues with uint64 enums (#5265) 2019-05-02 13:57:58 -07:00
idl_gen_text.cpp Fix issues with uint64 enums (#5265) 2019-05-02 13:57:58 -07:00
idl_parser.cpp Change usage of std::string's .at() to more widely-compatible []. (#5365) 2019-05-21 14:40:33 -07:00
reflection.cpp
util.cpp Set default CRTReportMode for the flatc target (#5336) 2019-05-09 10:10:10 -07:00