blob: a89b659ae89beb7f1a788fd37955bcdf256fb3bc [file] [log] [blame]
James Feistc6285332018-10-04 15:43:54 -07001SUMMARY = "JSON for modern C++"
David Cobbleyf0f74b92017-12-18 14:43:42 -08002HOMEPAGE = "https://nlohmann.github.io/json/"
James Feistc6285332018-10-04 15:43:54 -07003SECTION = "libs"
David Cobbleyf0f74b92017-12-18 14:43:42 -08004LICENSE = "MIT"
Brad Bishop7f726802018-03-30 12:20:06 -04005LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=9a8ae1c2d606c432a2aa2e2de15be22a"
David Cobbleyf0f74b92017-12-18 14:43:42 -08006
David Cobbleyfe323d92018-01-04 09:00:47 -08007SRC_URI = "git://github.com/nlohmann/json.git"
David Cobbleyf0f74b92017-12-18 14:43:42 -08008
James Feistc6285332018-10-04 15:43:54 -07009PV = "3.2.0+git${SRCPV}"
Deepak Kodihallid15f1772018-01-12 02:14:15 -060010
James Feistc6285332018-10-04 15:43:54 -070011SRCREV = "8c20571136f2d5351b379a06ad6591bd980880fe"
David Cobbleyf0f74b92017-12-18 14:43:42 -080012
13S = "${WORKDIR}/git"
James Feistc6285332018-10-04 15:43:54 -070014
15inherit cmake
16
17EXTRA_OECMAKE += "-DJSON_BuildTests=OFF"
18
19# nlohmann-json is a header only C++ library, so the main package will be empty.
20
21RDEPENDS_${PN}-dev = ""
22
23BBCLASSEXTEND = "native nativesdk"