cxxopts: add new recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bartosz Szostak 2025-01-16 16:45:58 +01:00 committed by Khem Raj
parent ab4201ba8a
commit 4abff7bcb7

View File

@ -0,0 +1,20 @@
DESCRIPTION = "A header-only lightweight C++ command line option parser."
HOMEPAGE = "https://github.com/jarro2783/cxxopts"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8de00431559a76a1b43f6fd44f8f6689"
SRC_URI = "git://github.com/jarro2783/cxxopts.git;protocol=https;branch=master"
SRCREV = "3bf268481da8208d171d8908e6491459de3651d7"
S = "${WORKDIR}/git"
inherit cmake
EXTRA_OECMAKE:append = " \
-DCXXOPTS_BUILD_EXAMPLES=OFF \
-DCXXOPTS_BUILD_TESTS=OFF \
-DCXXOPTS_ENABLE_INSTALL=ON \
-DCXXOPTS_ENABLE_WARNINGS=OFF \
-DCXXOPTS_USE_UNICODE_HELP=OFF \
"