• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: flatbuffers
2base: core18
3version: git
4summary: 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++
29
30apps:
31  flatc:
32    command: flatc
33    plugs:
34      - home
35      - removable-media
36