Skip to contentSkip to conversation

cli11: Add recipe

PATCH Superseded William A. Kennington III 2 participants 2 messages Oct 3, 2018

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cli11: Add recipe

cli11 is a c++ command line parser library that provides a simple user interface with modern c++ semantics.

---
 meta-oe/recipes-support/cli11/cli11_1.6.1.bb | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-support/cli11/cli11_1.6.1.bb
meta-oe/recipes-support/cli11/cli11_1.6.1.bb new file +19 -0
new file mode 100644
index 000000000..2d231b98c
@@ -0,0 +1,19 @@
+SUMMARY = "C++11 command line parser"
+DESCRIPTION = "A command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface."
+HOMEPAGE = "https://github.com/CLIUtils/CLI11"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c271fee3ae28e11b24b97284d9f82887"
+SRCREV = "v${PV}"
+PV = "1.6.1"
+PR = "r1"
+
+SRC_URI += "git://github.com/CLIUtils/CLI11"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE_append += " \
+        -DCLI11_TESTING=OFF \
+        -DCLI11_EXAMPLES=OFF \
+        "
Signature · 1 line
2.19.0
#1 lore raw
Quoted 16 lines · William A. Kennington III via Openembedded-devel

cli11 is a c++ command line parser library that provides a simple user interface with modern c++ semantics.

---
 meta-oe/recipes-support/cli11/cli11_1.6.1.bb | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-support/cli11/cli11_1.6.1.bb
meta-oe/recipes-support/cli11/cli11_1.6.1.bb new file +0 -0
new file mode 100644
index 000000000..2d231b98c

meta-oe/recipes-support/cli11/cli11_1.6.1.bb line 6

Quoted 6 lines
meta-oe/recipes-support/cli11/cli11_1.6.1.bb new file +6 -0
@@ -0,0 +1,19 @@
+SUMMARY = "C++11 command line parser"
+DESCRIPTION = "A command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface."
+HOMEPAGE = "https://github.com/CLIUtils/CLI11"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c271fee3ae28e11b24b97284d9f82887"
+SRCREV = "v${PV}"

it better for reproducibility that we include the SHA corresponding to this tag instead

meta-oe/recipes-support/cli11/cli11_1.6.1.bb line 9

Quoted 3 lines
meta-oe/recipes-support/cli11/cli11_1.6.1.bb new file +3 -0
+PV = "1.6.1"
+PR = "r1"
+

drop setting PR

meta-oe/recipes-support/cli11/cli11_1.6.1.bb line 16

Quoted 7 lines
meta-oe/recipes-support/cli11/cli11_1.6.1.bb new file +7 -0
+SRC_URI += "git://github.com/CLIUtils/CLI11"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE_append += " \

_append/_prepend with += is not a defined operation even though it might result in something. We might be ok with just

EXTRA_OECMAKE +=

here

meta-oe/recipes-support/cli11/cli11_1.6.1.bb line 19

Quoted 3 lines
meta-oe/recipes-support/cli11/cli11_1.6.1.bb new file +3 -0
+        -DCLI11_TESTING=OFF \
+        -DCLI11_EXAMPLES=OFF \
+        "

why are tests and examples disabled ?
I would prefer them to be part of build and packaged into different PACKAGES so we can install them if needed e.g. may be with ptest enabled we can install the tests package

Quoted 8 lines

--
2.19.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel