• Austin Schuh's avatar
    Add flatbuffer_cc library support (#5061) · d56a4055
    Austin Schuh authored
    * Add flatbuffer_cc library support
    
    * Update flags so all the tests pass
    
    Tests now all pass!
    
    * Modify the tests to use the generated code
    
    This should be a simple serialize/deserialize test of the new generated
    code to make sure the bazel rules are doing something sane.
    
    * Use generated monster_test.fb in testing/test.cpp
    
    cmake drops it's generated code in tests/monster_test_generated.h
    Instead of checking that in, let's generate it with bazel.
    
    * Make grpc tests depend on monster_test_generated.h
    
    * Remove redundant cmake dependency
    
    This should address @aardappel's feedback.
    
    * Run flatc for Android as well
    
    This will fix the last travis.ci failure
    
    * Add generated output folder and fix flags
    
    * Move flatbuffers_header_build_rules to the library that uses it
    
    * Use --cpp-ptr-type to fix android
    
    Android was the only target using the STL emulation layer.  It needed
    the --cpp-ptr-type flatbuffers::unique_ptr flag to work.  Add it!
    
    * Roll back changes to use autogenerated monster_test_generated.
    
    Flip tests/test.cpp to use the autogenerated file as well.
    d56a4055
Name
Last commit
Last update
.appveyor Loading commit data...
.github Loading commit data...
.travis Loading commit data...
CMake Loading commit data...
android Loading commit data...
conan Loading commit data...
dart Loading commit data...
docs Loading commit data...
go Loading commit data...
grpc Loading commit data...
include/flatbuffers Loading commit data...
java/com/google/flatbuffers Loading commit data...
js Loading commit data...
lobster Loading commit data...
lua Loading commit data...
net/FlatBuffers Loading commit data...
php Loading commit data...
python Loading commit data...
reflection Loading commit data...
rust/flatbuffers Loading commit data...
samples Loading commit data...
src Loading commit data...
tests Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
BUILD Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
WORKSPACE Loading commit data...
appveyor.yml Loading commit data...
build_defs.bzl Loading commit data...
composer.json Loading commit data...
conanfile.py Loading commit data...
package.json Loading commit data...
pom.xml Loading commit data...
readme.md Loading commit data...