summaryrefslogtreecommitdiff
path: root/snap/snapcraft.yaml
blob: c0bc939df894527b163cad9fca4b709895479907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: flatbuffers
base: core18
version: git
summary: FlatBuffers compiler
description: |
  FlatBuffers compiler

  NOTE: This snap also ships the necessary header files required to compile
  projects using flatbuffers, however, for the compilation to work, you have
  to manually add the following path in your project's configuration:

  /snap/flatbuffers/current/include

  If you need to use flatbuffers headers from a location other than the above
  path, it is recommended to not use this snap as that could cause a mismatch.

grade: stable
confinement: strict

parts:
  flatc:
    plugin: cmake
    source: .
    configflags:
      - -GUnix Makefiles
      - -DCMAKE_BUILD_TYPE=Release
    build-packages:
      - g++

apps:
  flatc:
    command: flatc
    plugs:
      - home
      - removable-media