James Feist | 9a6e2ee | 2018-10-04 15:43:54 -0700 | [diff] [blame] | 1 | SUMMARY = "JSON for modern C++" |
David Cobbley | 36133ce | 2017-12-18 14:43:42 -0800 | [diff] [blame] | 2 | HOMEPAGE = "https://nlohmann.github.io/json/" |
James Feist | 9a6e2ee | 2018-10-04 15:43:54 -0700 | [diff] [blame] | 3 | SECTION = "libs" |
David Cobbley | 36133ce | 2017-12-18 14:43:42 -0800 | [diff] [blame] | 4 | LICENSE = "MIT" |
Brad Bishop | f72f49c | 2018-03-30 12:20:06 -0400 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=9a8ae1c2d606c432a2aa2e2de15be22a" |
David Cobbley | 36133ce | 2017-12-18 14:43:42 -0800 | [diff] [blame] | 6 | |
David Cobbley | 74ea90b | 2018-01-04 09:00:47 -0800 | [diff] [blame] | 7 | SRC_URI = "git://github.com/nlohmann/json.git" |
David Cobbley | 36133ce | 2017-12-18 14:43:42 -0800 | [diff] [blame] | 8 | |
James Feist | 9a6e2ee | 2018-10-04 15:43:54 -0700 | [diff] [blame] | 9 | PV = "3.2.0+git${SRCPV}" |
Deepak Kodihalli | a336042 | 2018-01-12 02:14:15 -0600 | [diff] [blame] | 10 | |
James Feist | 9a6e2ee | 2018-10-04 15:43:54 -0700 | [diff] [blame] | 11 | SRCREV = "8c20571136f2d5351b379a06ad6591bd980880fe" |
David Cobbley | 36133ce | 2017-12-18 14:43:42 -0800 | [diff] [blame] | 12 | |
| 13 | S = "${WORKDIR}/git" |
James Feist | 9a6e2ee | 2018-10-04 15:43:54 -0700 | [diff] [blame] | 14 | |
| 15 | inherit cmake |
| 16 | |
| 17 | EXTRA_OECMAKE += "-DJSON_BuildTests=OFF" |
| 18 | |
| 19 | # nlohmann-json is a header only C++ library, so the main package will be empty. |
| 20 | |
| 21 | RDEPENDS_${PN}-dev = "" |
| 22 | |
| 23 | BBCLASSEXTEND = "native nativesdk" |