cpputest: Add initial recipe. Version 4.0.
PATCH 1/1 cpputest: Add initial recipe. Version 4.0.
--- meta-oe/recipes-test/cpputest/cpputest_4.0.bb | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-oe/recipes-test/cpputest/cpputest_4.0.bb
meta-oe/recipes-test/cpputest/cpputest_4.0.bb new file +25 -0
@@ -0,0 +1,25 @@ +SUMMARY = "CppUTest unit testing and mocking framework for C/C++" +HOMEPAGE = "http://cpputest.github.io/" +SECTIONS = "libs" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177" + +SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https" +SRCREV = "67d2dfd41e13f09ff218aa08e2d35f1c32f032a1" + +PV = "4.0+git${SRCPV}" + +S = "${WORKDIR}/git" + +inherit cmake + +OECMAKE_GENERATOR = "Unix Makefiles" +EXTRA_OECMAKE = "-DLONGLONG=ON \ + -DC++11=ON \ + -DTESTS=OFF \ + -DEXTENSIONS=OFF \ + " + +FILES_${PN} += "${libdir}/CppUTest/*" +FILES_${PN}-dev += "${libdir}/CppUTest/cmake/*"
--
2.17.1
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Quoted 1 line · Ben Horgan
+SECTIONS = "libs"
SECTION, not SECTIONS. Arguably, this is 'devel'.
Quoted 1 line
+PV = "4.0+git${SRCPV}"
The SRVREV is the 4.0 tag, so there's no need to put the SHA in the PV. Remove this line.
Quoted 1 line
+OECMAKE_GENERATOR = "Unix Makefiles"
Is this actually needed? If so, is a bug filed upstream?
Quoted 1 line
+FILES_${PN} += "${libdir}/CppUTest/*"
There doesn't appear to be anything in this directory, or even this package as there's only a static library built and no shared library. Remove?
Quoted 1 line
+FILES_${PN}-dev += "${libdir}/CppUTest/cmake/*"
Really need to get cmake.bbclass to do this...
Ross