All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] cpputest: Add initial recipe. Version 4.0.
@ 2021-07-16 10:33 Ben Horgan
  2021-07-16 11:48 ` [oe] " Ross Burton
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Horgan @ 2021-07-16 10:33 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Ben Horgan

Signed-off-by: Ben Horgan <ben.horgan@arm.com>
---
 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

diff --git a/meta-oe/recipes-test/cpputest/cpputest_4.0.bb b/meta-oe/recipes-test/cpputest/cpputest_4.0.bb
new file mode 100644
index 000000000..057a6a618
--- /dev/null
+++ b/meta-oe/recipes-test/cpputest/cpputest_4.0.bb
@@ -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.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [oe] [meta-oe][PATCH] cpputest: Add initial recipe. Version 4.0.
  2021-07-16 10:33 [meta-oe][PATCH] cpputest: Add initial recipe. Version 4.0 Ben Horgan
@ 2021-07-16 11:48 ` Ross Burton
  0 siblings, 0 replies; 2+ messages in thread
From: Ross Burton @ 2021-07-16 11:48 UTC (permalink / raw)
  To: Ben Horgan; +Cc: openembeded-devel

On Fri, 16 Jul 2021 at 11:34, Ben Horgan <ben.horgan@arm.com> wrote:
> +SECTIONS = "libs"

SECTION, not SECTIONS.  Arguably, this is 'devel'.

> +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.

> +OECMAKE_GENERATOR = "Unix Makefiles"

Is this actually needed?  If so, is a bug filed upstream?

> +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?

> +FILES_${PN}-dev += "${libdir}/CppUTest/cmake/*"

Really need to get cmake.bbclass to do this...

Ross

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-16 11:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-16 10:33 [meta-oe][PATCH] cpputest: Add initial recipe. Version 4.0 Ben Horgan
2021-07-16 11:48 ` [oe] " Ross Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.