diff options
author | Derek Bailey <dbaileychess@gmail.com> | 2020-03-02 10:15:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 10:15:23 -0800 |
commit | 6ff1898413a56577bd2e9abd8280a79b1880bd53 (patch) | |
tree | 121c2b564096a79ff8097fe821f25a33a8a43eec /docs/source | |
parent | c9a30c9ca28a6396455dd8be479f5a5edb412e62 (diff) | |
download | flatbuffers-6ff1898413a56577bd2e9abd8280a79b1880bd53.tar.gz |
Added --filename-suffix and --filename-ext to flatc (#5778)
* Fixed refractoring issue in reflection/generate_code.sh. Also, mv deletes the original file, so I don't need to clean it up manually in that case.
* Added --filename-suffix and --filename-ext to flatc
* Fixed typo and added example generation of suffix and extension for C++
* Removed extra ;
* Removed clang-format block from a region that didn't need it. Fixed an auto format of another clang-format block
* Added docs, fixed pointer alignment, removed suffix test file
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/Compiler.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/source/Compiler.md b/docs/source/Compiler.md index 9061051b..aed579ca 100644 --- a/docs/source/Compiler.md +++ b/docs/source/Compiler.md @@ -188,6 +188,13 @@ Additional options: - `--conform-includes PATH` : Include path for the schema given with `--conform PATH`. +- `--filename-suffix SUFFIX` : The suffix appended to the generated + file names. Default is '_generated'. + +- `--filename-ext EXTENSION` : The extension appended to the generated + file names. Default is language-specific (e.g. "h" for C++). This + should not be used when multiple languages are specified. + - `--include-prefix PATH` : Prefix this path to any generated include statements. |