mirror of https://github.com/vee1e/flatbuffers - FlatBuffers: Memory Efficient Serialization Library
Find a file
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
.appveyor
.bazelci
.github
.travis
android
CMake
conan
dart
docs c++: Add command line option to add extra includes to gen files (#5360) 2019-05-31 13:43:30 -07:00
go [Go] Public visibility for gazelle default target (#5361) 2019-05-21 14:48:51 -07:00
grpc Enforce matching version in Java and C#. 2019-05-31 12:15:19 -07:00
include/flatbuffers c++: Add command line option to add extra includes to gen files (#5360) 2019-05-31 13:43:30 -07:00
java/com/google/flatbuffers Break internal Java/C# APIs 2019-05-31 13:00:55 -07:00
js [JS/TS] Size prefix support (#5326) 2019-05-16 11:43:31 -07:00
lobster Lobster: added builder API for tables 2019-05-22 19:42:13 -07:00
lua
net/FlatBuffers Break internal Java/C# APIs 2019-05-31 13:00:55 -07:00
php
python [Python PyPI] Added classifiers and more links. Fixes typo and #5215 (#5272) 2019-05-08 12:42:20 -07:00
reflection
rust/flatbuffers
samples Lobster: added builder API for tables 2019-05-22 19:42:13 -07:00
snap
src c++: Add command line option to add extra includes to gen files (#5360) 2019-05-31 13:43:30 -07:00
tests Break internal Java/C# APIs 2019-05-31 13:00:55 -07:00
.clang-format
.editorconfig
.gitattributes
.gitignore
.travis.yml
appveyor.yml
BUILD Set default CRTReportMode for the flatc target (#5336) 2019-05-09 10:10:10 -07:00
build_defs.bzl Fix typo in build_defs.bzl (#5320) 2019-05-06 12:10:11 -07:00
CMakeLists.txt Add detection of strtoull_l function (#5333) (#5337) 2019-05-09 10:15:29 -07:00
composer.json
conanfile.py
CONTRIBUTING.md
LICENSE.txt
package.json
pom.xml Enforce matching version in Java and C#. 2019-05-31 12:15:19 -07:00
readme.md
WORKSPACE

logo FlatBuffers

Join the chat at https://gitter.im/google/flatbuffers Build Status Build status

FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.

Go to our landing page to browse our documentation.

Supported operating systems

  • Windows
  • MacOS X
  • Linux
  • Android
  • And any others with a recent C++ compiler.

Supported programming languages

  • C++
  • C#
  • C
  • Dart
  • Go
  • Java
  • JavaScript
  • Lobster
  • Lua
  • PHP
  • Python
  • Rust
  • TypeScript

and more in progress...

Contribution

To contribute to this project, see CONTRIBUTING.

Licensing

Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.