blob: 171389616a266ff09648a7efaa246c4ad673d65f [file] [log] [blame]
Austin Schuhe89fa2d2019-08-14 20:24:23 -07001name: flatbuffers
2base: core18
3version: latest
4version-script: git describe --always | sed -e 's/-/+git/;y/-/./' | tail -c +2
5summary: FlatBuffers compiler
6description: |
7 FlatBuffers compiler
8
9 NOTE: This snap also ships the necessary header files required to compile
10 projects using flatbuffers, however, for the compilation to work, you have
11 to manually add the following path in your project's configuration:
12
13 /snap/flatbuffers/current/include
14
15 If you need to use flatbuffers headers from a location other than the above
16 path, it is recommended to not use this snap as that could cause a mismatch.
17
18grade: stable
19confinement: strict
20
21parts:
22 flatc:
23 plugin: cmake
24 source: .
25 configflags:
26 - -GUnix Makefiles
27 - -DCMAKE_BUILD_TYPE=Release
28 build-packages:
29 - g++
30 # used to set version number
31 - git
32
33apps:
34 flatc:
35 command: flatc
36 plugs:
37 - home