diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-12-16 18:37:09 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-12-16 19:50:07 -0800 |
| commit | 110652d95152272df5649c6dd6c0fc98a47129df (patch) | |
| tree | 1ea77c7bcd69109c0d371ae71439a51ac4887576 /meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb | |
| parent | e595651343a0c380e699fa5137b8597e06e98edb (diff) | |
| download | meta-openembedded-110652d95152272df5649c6dd6c0fc98a47129df.tar.gz | |
nlohmann-json: Upgrade to 3.7.3
Rename recipe to express PV
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb b/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb new file mode 100644 index 0000000000..86fe673b47 --- /dev/null +++ b/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | SUMMARY = "JSON for modern C++" | ||
| 2 | HOMEPAGE = "https://nlohmann.github.io/json/" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=f5f7c71504da070bcf4f090205ce1080" | ||
| 6 | |||
| 7 | SRC_URI = "git://github.com/nlohmann/json.git;nobranch=1" | ||
| 8 | |||
| 9 | SRCREV = "e7b3b40b5a95bc74b9a7f662830a27c49ffc01b4" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | inherit cmake | ||
| 14 | |||
| 15 | EXTRA_OECMAKE += "-DJSON_BuildTests=OFF" | ||
| 16 | |||
| 17 | # nlohmann-json is a header only C++ library, so the main package will be empty. | ||
| 18 | |||
| 19 | RDEPENDS_${PN}-dev = "" | ||
| 20 | |||
| 21 | BBCLASSEXTEND = "native nativesdk" | ||
| 22 | |||
| 23 | # other packages commonly reference the file directly as "json.hpp" | ||
| 24 | # create symlink to allow this usage | ||
| 25 | do_install_append() { | ||
| 26 | ln -s nlohmann/json.hpp ${D}${includedir}/json.hpp | ||
| 27 | } | ||
