Initial commit of the FlatBuffers code.

Change-Id: I4c9f0f722490b374257adb3fec63e44ae93da920
Tested: using VS2010 / Xcode / gcc on Linux.
This commit is contained in:
Wouter van Oortmerssen
2014-01-27 16:52:49 -08:00
parent c1b43e22b0
commit 26a30738a4
102 changed files with 12647 additions and 0 deletions

22
docs/source/Compiler.md Executable file
View File

@@ -0,0 +1,22 @@
# Using the schema compiler
Usage:
flatc [ -c ] [ -j ] [ -b ] [ -t ] file1 file2 ..
The files are read and parsed in order, and can contain either schemas
or data (see below). Later files can make use of definitions in earlier
files. Depending on the flags passed, additional files may
be generated for each file processed:
- `-c` : Generate a C++ header for all definitions in this file (as
`filename_generated.h`). Skips data.
- `-j` : Generate Java classes.
- `-b` : If data is contained in this file, generate a
`filename_wire.bin` containing the binary flatbuffer.
- `-t` : If data is contained in this file, generate a
`filename_wire.txt` (for debugging).