Files
simple-rust-tests/flatbuffers/README.md
2020-06-25 23:22:18 +08:00

36 lines
322 B
Markdown

# Install `flatc`
## Install `cmake`
https://cmake.org/install/
## Get `flatbuffers`
```shell
% git clone https://github.com/google/flatbuffers.git
```
## Make
```shell
% cmake -G "Unix Makefiles"
% make
% make install
```
```shell
% flatc --version
```
# Compile `fbs`
```shell
% flatc --rust file.fbs
```