Message ID | 20250708144800.286647-1-yishai1999@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe] cpp-argparse: added recipe | expand |
On 7/8/25 16:48, Yishai Jaffe via lists.openembedded.org wrote: > Added recipe for C++ argparse library > > Signed-off-by: Yishai Jaffe <yishai1999@gmail.com> > --- > .../cpp-argparse/cpp-argparse_3.2.bb | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > create mode 100644 meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb > > diff --git a/meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb b/meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb > new file mode 100644 > index 0000000000..5d7965149f > --- /dev/null > +++ b/meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb > @@ -0,0 +1,15 @@ > +SUMMARY = "Argument Parser for Modern C++" > +HOMEPAGE = "https://github.com/p-ranav/argparse" > +BUGTRACKER = "https://github.com/p-ranav/argparse/issues" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=4f3ed9ec2c801700ac8fda1fcd29a330" > + > +SRCREV = "3eda91b2e1ce7d569f84ba295507c4cd8fd96910" > +SRC_URI = "git://github.com/p-ranav/argparse.git;branch=master;protocol=https" Could you add ";tag=v${PV}` to the SRC_URI? That will allow bitbake check the revision against the tag. > + > +S = "${WORKDIR}/git" This generates a fatal error using the latest master oe-core. You should be able to remove the "S" assignment altogether. > + > +inherit cmake > +EXTRA_OECMAKE = "-DARGPARSE_BUILD_TESTS=OFF" > + > +BBCLASSEXTEND = "native nativesdk" >
diff --git a/meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb b/meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb new file mode 100644 index 0000000000..5d7965149f --- /dev/null +++ b/meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb @@ -0,0 +1,15 @@ +SUMMARY = "Argument Parser for Modern C++" +HOMEPAGE = "https://github.com/p-ranav/argparse" +BUGTRACKER = "https://github.com/p-ranav/argparse/issues" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4f3ed9ec2c801700ac8fda1fcd29a330" + +SRCREV = "3eda91b2e1ce7d569f84ba295507c4cd8fd96910" +SRC_URI = "git://github.com/p-ranav/argparse.git;branch=master;protocol=https" + +S = "${WORKDIR}/git" + +inherit cmake +EXTRA_OECMAKE = "-DARGPARSE_BUILD_TESTS=OFF" + +BBCLASSEXTEND = "native nativesdk"
Added recipe for C++ argparse library Signed-off-by: Yishai Jaffe <yishai1999@gmail.com> --- .../cpp-argparse/cpp-argparse_3.2.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb