xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/spdlog/spdlog_1.9.2.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1DESCRIPTION = "Very fast, header only, C++ logging library."
2HOMEPAGE = "https://github.com/gabime/spdlog/wiki"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5
6SRCREV = "eb3220622e73a4889eee355ffa37972b3cac3df5"
7SRC_URI = "git://github.com/gabime/spdlog.git;protocol=https;branch=v1.x; \
8           file://0001-Enable-use-of-external-fmt-library.patch"
9
10DEPENDS += "fmt"
11
12S = "${WORKDIR}/git"
13
14BBCLASSEXTEND = "native"
15# no need to build example & tests & benchmarks on pure yocto
16EXTRA_OECMAKE += "-DSPDLOG_INSTALL=on -DSPDLOG_BUILD_SHARED=on -DSPDLOG_BUILD_EXAMPLE=off -DSPDLOG_BUILD_TESTS=off -DSPDLOG_BUILD_BENCH=off -DSPDLOG_FMT_EXTERNAL=on"
17
18inherit cmake
19