diff options
author | Wouter van Oortmerssen <wvo@google.com> | 2014-09-22 15:49:43 -0700 |
---|---|---|
committer | Wouter van Oortmerssen <wvo@google.com> | 2014-09-23 14:13:35 -0700 |
commit | 30642c5a6f0fe2728d5b05cd272880d325c18cf6 (patch) | |
tree | a601d192acbad84ae2356c6e17ecefeb730aeee1 /docs | |
parent | 517c964fe2099ecc0810db33cfd45b406b3f3132 (diff) | |
download | flatbuffers-30642c5a6f0fe2728d5b05cd272880d325c18cf6.tar.gz |
Added option to flatc to generate dependent header statements.
Bug: 17322776
Change-Id: I3a4d3cb4ccd40bc3200a87653aa0ab8ecb90ce60
Tested: on Linux.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/md__compiler.html | 3 | ||||
-rwxr-xr-x | docs/source/Compiler.md | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/html/md__compiler.html b/docs/html/md__compiler.html index f1f6665c..cf7a0c8d 100644 --- a/docs/html/md__compiler.html +++ b/docs/html/md__compiler.html @@ -66,7 +66,8 @@ $(document).ready(function(){initNavTree('md__compiler.html','');}); <li><code>-o PATH</code> : Output all generated files to PATH (either absolute, or relative to the current directory). If omitted, PATH will be the current directory. PATH should end in your systems path separator, e.g. <code>/</code> or <code>\</code>.</li> <li><code>-I PATH</code> : when encountering <code>include</code> statements, attempt to load the files from this path. Paths will be tried in the order given, and if all fail (or none are specified) it will try to load relative to the path of the schema file being parsed.</li> <li><code>-S</code> : Generate strict JSON (field names are enclosed in quotes). By default, no quotes are generated.</li> -<li><code>-P</code> : Don't prefix enum values in generated C++ by their enum type. </li> +<li><code>-P</code> : Don't prefix enum values in generated C++ by their enum type.</li> +<li><code>-H</code> : Generate include statements for included schemas the generated file depends on (C++). </li> </ul> </div></div><!-- contents --> </div><!-- doc-content --> diff --git a/docs/source/Compiler.md b/docs/source/Compiler.md index 4845b45e..3f7675ae 100755 --- a/docs/source/Compiler.md +++ b/docs/source/Compiler.md @@ -42,3 +42,5 @@ be generated for each file processed: - `-P` : Don't prefix enum values in generated C++ by their enum type. +- `-H` : Generate include statements for included schemas the generated file + depends on (C++). |