cpp-argparse: added recipe
PATCH 1/1 cpp-argparse: added recipe
Added recipe for C++ argparse library
Signed-off-by Yishai Jaffe <[email protected]>
--- .../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
meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb new file +15 -0
@@ -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"
Quoted 14 lines · Yishai Jaffe via lists.openembedded.org
Added recipe for C++ argparse library
Signed-off-by Yishai Jaffe <[email protected]>--- .../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.bbmeta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb new file +0
-0
meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb line 8
Quoted 8 lines
meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb new file +8
-0@@ -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.
meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb line 10
Quoted 2 lines
meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb new file +2
-0+ +S = "${WORKDIR}/git"
This generates a fatal error using the latest master oe-core. You should be able to remove the "S" assignment altogether.
Quoted 6 lines
meta-oe/recipes-devtools/cpp-argparse/cpp-argparse_3.2.bb new file +5
-0+ +inherit cmake +EXTRA_OECMAKE = "-DARGPARSE_BUILD_TESTS=OFF" + +BBCLASSEXTEND = "native nativesdk"