Allow the flatbuffer compiler (flatc) to be built as a library.

Change-Id: I71baff427243f96be1596b01ff3405fdf39386d7
This commit is contained in:
Wouter van Oortmerssen
2017-01-25 13:41:34 -08:00
parent fd61d70205
commit b395359b6e
4 changed files with 280 additions and 148 deletions

View File

@@ -48,6 +48,7 @@ set(FlatBuffers_Compiler_SRCS
src/idl_gen_fbs.cpp
src/idl_gen_grpc.cpp
src/flatc.cpp
src/flatc_main.cpp
grpc/src/compiler/schema_interface.h
grpc/src/compiler/cpp_generator.h
grpc/src/compiler/cpp_generator.cc