blob: 2530dac526a321f6a54e2f7ebaf321bcc890d0c5 [file] [log] [blame]
Patrick Williams73bd93f2024-02-20 08:07:48 -06001SUMMARY = "FlatCC FlatBuffers in C for C"
2DESCRIPTION = "FlatCC is a compiler that generates FlatBuffers code for C \
3given a FlatBuffer schema file."
4HOMEPAGE = "https://github.com/dvidelabs/flatcc"
5SECTION = "devel/lib"
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=b3d8fb7158bf7e2600ba3191428dc4ef"
8
9PV = "0.6.2+git"
10
11SRC_URI = " \
12 git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master \
13 file://0001-Check-for-C-standard-version-23-for-__fallthrough__.patch \
14"
15SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196"
16
17S = "${WORKDIR}/git"
18
19inherit cmake
20
21# Enable installation for target
22# Disable tests as is not possible to execute with cross-compilation
23EXTRA_OECMAKE += " \
24 -DFLATCC_INSTALL=On \
25 -DFLATCC_TEST=Off \
26 -DFLATCC_ALLOW_WERROR=Off \
27 -DFLATCC_INSTALL_LIB=${baselib} \
28"
29
30BBCLASSEXTEND = "native nativesdk"