Wang Mingyu 5b6ccc07b5 cli11: upgrade 2.2.0 -> 2.3.0
Changelog:
==========
Add CLI11_PRECOMPILED as an option. #762
Bugfix: Include <functional> in FormatterFwd #727
Bugfix: Add missing Macros.hpp to Error.hpp #755
Bugfix: Fix subcommand callback trigger #733
Bugfix: Variable rename to avoid warning #734
Bugfix: split_program_name single file name error #740
Bugfix: Better support for min/max overrides on MSVC #741
Bugfix: Support MSVC 2022 #748
Bugfix: Support negated flag in config file #775
Bugfix: Better errors for some confusing config file situations #781
Backend: Restore coverage testing (lost with Travis CI) #747

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-18 08:23:44 -07:00

26 lines
986 B
BlitzBasic

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=9ad746b5f49c0fd53c08ca1faff1922c"
SRCREV = "a66ae4145779c56dc0f9f98a631656417dd77de8"
PV .= "+git${SRCPV}"
SRC_URI += "gitsm://github.com/CLIUtils/CLI11;branch=main;protocol=https \
https://github.com/philsquared/Catch/releases/download/v2.13.7/catch.hpp \
file://0001-Do-not-download-the-catch-framework-during-configure.patch"
SRC_URI[sha256sum] = "ea379c4a3cb5799027b1eb451163dff065a3d641aaba23bf4e24ee6b536bd9bc"
S = "${WORKDIR}/git"
do_configure:prepend() {
mkdir -p ${S}/tests/catch2
cp ${DL_DIR}/catch.hpp ${S}/tests/catch2/catch.hpp
}
inherit cmake
inherit ptest
# cli11 is a header only C++ library, so the main package will be empty.
RDEPENDS:${PN}-dev = ""