blob: c0bc939df894527b163cad9fca4b709895479907 [file] [log] [blame]
Austin Schuhe89fa2d2019-08-14 20:24:23 -07001name: flatbuffers
2base: core18
Austin Schuh272c6132020-11-14 16:37:52 -08003version: git
Austin Schuhe89fa2d2019-08-14 20:24:23 -07004summary: FlatBuffers compiler
5description: |
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
17grade: stable
18confinement: strict
19
20parts:
21 flatc:
22 plugin: cmake
23 source: .
24 configflags:
25 - -GUnix Makefiles
26 - -DCMAKE_BUILD_TYPE=Release
27 build-packages:
28 - g++
Austin Schuhe89fa2d2019-08-14 20:24:23 -070029
30apps:
31 flatc:
32 command: flatc
33 plugs:
34 - home
Austin Schuh272c6132020-11-14 16:37:52 -080035 - removable-media