mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 13:18:36 -09:00
package/cpp-argparse: new package
A Modern C++ header-only library for parsing command-line arguments. https://github.com/p-ranav/argparse Signed-off-by: Konstantin Menyaev <viper@landau.one> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
46b5c95647
commit
bba497d60d
@@ -170,6 +170,7 @@ menu "Development tools"
|
||||
source "package/bustle/Config.in"
|
||||
source "package/check/Config.in"
|
||||
source "package/cmake/Config.in"
|
||||
source "package/cpp-argparse/Config.in"
|
||||
source "package/cppunit/Config.in"
|
||||
source "package/cukinia/Config.in"
|
||||
source "package/cunit/Config.in"
|
||||
|
||||
12
package/cpp-argparse/Config.in
Normal file
12
package/cpp-argparse/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_CPP_ARGPARSE
|
||||
bool "cpp-argparse"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8
|
||||
help
|
||||
Argument Parser for Modern C++. A header-only library
|
||||
for parsing command-line arguments.
|
||||
|
||||
https://github.com/p-ranav/argparse
|
||||
|
||||
comment "cpp-argparse needs a toolchain w/ C++, gcc >= 8"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_8
|
||||
3
package/cpp-argparse/cpp-argparse.hash
Normal file
3
package/cpp-argparse/cpp-argparse.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 9dcb3d8ce0a41b2a48ac8baa54b51a9f1b6a2c52dd374e28cc713bab0568ec98 cpp-argparse-3.2.tar.gz
|
||||
sha256 a3a9e0dc669644b703773777503f73abff8dffacc4e697d8535be930766fa771 LICENSE
|
||||
16
package/cpp-argparse/cpp-argparse.mk
Normal file
16
package/cpp-argparse/cpp-argparse.mk
Normal file
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# cpp-argparse
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CPP_ARGPARSE_VERSION = 3.2
|
||||
CPP_ARGPARSE_SITE = $(call github,p-ranav,argparse,v$(CPP_ARGPARSE_VERSION))
|
||||
CPP_ARGPARSE_LICENSE = MIT
|
||||
CPP_ARGPARSE_LICENSE_FILES = LICENSE
|
||||
CPP_ARGPARSE_INSTALL_STAGING = YES
|
||||
CPP_ARGPARSE_INSTALL_TARGET = NO
|
||||
|
||||
CPP_ARGPARSE_CONF_OPTS = -DARGPARSE_BUILD_SAMPLES=OFF -DARGPARSE_BUILD_TESTS=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user