Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 1 | name: flatbuffers |
| 2 | base: core18 |
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame^] | 3 | version: git |
Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 4 | summary: FlatBuffers compiler |
| 5 | description: | |
| 6 | FlatBuffers compiler |
| 7 | |
| 8 | NOTE: This snap also ships the necessary header files required to compile |
| 9 | projects using flatbuffers, however, for the compilation to work, you have |
| 10 | to manually add the following path in your project's configuration: |
| 11 | |
| 12 | /snap/flatbuffers/current/include |
| 13 | |
| 14 | If you need to use flatbuffers headers from a location other than the above |
| 15 | path, it is recommended to not use this snap as that could cause a mismatch. |
| 16 | |
| 17 | grade: stable |
| 18 | confinement: strict |
| 19 | |
| 20 | parts: |
| 21 | flatc: |
| 22 | plugin: cmake |
| 23 | source: . |
| 24 | configflags: |
| 25 | - -GUnix Makefiles |
| 26 | - -DCMAKE_BUILD_TYPE=Release |
| 27 | build-packages: |
| 28 | - g++ |
Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 29 | |
| 30 | apps: |
| 31 | flatc: |
| 32 | command: flatc |
| 33 | plugs: |
| 34 | - home |
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame^] | 35 | - removable-media |