blob: 8519479c4d025a8853a03426091d932607f9f6da [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001SUMMARY = "A fast JSON parser/generator for C++ with both SAX/DOM style API"
2HOMEPAGE = "http://rapidjson.org/"
3SECTION = "libs"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"
6
Andrew Geissler5082cc72023-09-11 08:41:39 -04007SRC_URI = "git://github.com/miloyip/rapidjson.git;branch=master;protocol=https"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05008
Andrew Geisslereef63862021-01-29 15:58:13 -06009SRCREV = "0ccdbf364c577803e2a751f5aededce935314313"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010
Patrick Williams73bd93f2024-02-20 08:07:48 -060011PV = "1.1.0+git"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012
13S = "${WORKDIR}/git"
14
15inherit cmake
16
Andrew Geissler69721092021-07-23 12:57:00 -040017EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF"
Andrew Geisslereff27472021-10-29 15:35:00 -050018# the install path for cmake modules etc. is hardcoded as ${prefix}/lib in
19# CMakeLists.txt, which breaks the package split with multilib
20EXTRA_OECMAKE += "-DLIB_INSTALL_DIR=${libdir}"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021
22# RapidJSON is a header-only C++ library, so the main package will be empty.
23
Patrick Williams213cb262021-08-07 19:21:33 -050024ALLOW_EMPTY:${PN} = "1"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050025
26BBCLASSEXTEND = "native nativesdk"