blob: 8bf7981ab02e3c1b05e2ea58af829b90e37b1da5 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001DESCRIPTION = "Ultralightweight JSON parser in ANSI C"
Andrew Geissler82c905d2020-04-13 13:39:40 -05002HOMEPAGE = "https://github.com/DaveGamble/cJSON"
3SECTION = "libs"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0"
6
Andrew Geissler595f6302022-01-24 19:11:47 +00007SRC_URI = "git://github.com/DaveGamble/cJSON.git;branch=master;protocol=https"
William A. Kennington III49e95662021-09-15 16:19:36 -07008SRCREV = "d348621ca93571343a56862df7de4ff3bc9b5667"
Andrew Geissler82c905d2020-04-13 13:39:40 -05009
10S = "${WORKDIR}/git"
11
12inherit cmake pkgconfig
13
14EXTRA_OECMAKE += "\
15 -DENABLE_CJSON_UTILS=On \
16 -DENABLE_CUSTOM_COMPILER_FLAGS=OFF \
17 -DBUILD_SHARED_AND_STATIC_LIBS=On \
18"
19
20BBCLASSEXTEND = "native nativesdk"