xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-test/catch2/catch2_2.13.7.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1DESCRIPTION = "A modern, C++-native, header-only, test framework for unit-tests, \
2TDD and BDD - using C++11, C++14, C++17 and later."
3AUTHOR = "Phil Nash, Martin Horenovsky and others"
4HOMEPAGE = "https://github.com/catchorg/Catch2"
5LICENSE = "BSL-1.0"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
7
8SRC_URI = "git://github.com/catchorg/Catch2.git;branch=v2.x;protocol=https"
9SRCREV = "c4e3767e265808590986d5db6ca1b5532a7f3d13"
10
11S = "${WORKDIR}/git"
12
13inherit cmake python3native
14
15do_install:append() {
16    rm ${D}${datadir}/Catch2/lldbinit
17    rm ${D}${datadir}/Catch2/gdbinit
18    rmdir ${D}${datadir}/Catch2/
19}
20# Header-only library
21RDEPENDS:${PN}-dev = ""
22RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
23