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:
Konstantin Menyaev
2026-08-01 17:09:23 +03:00
committed by Julien Olivain
parent 46b5c95647
commit bba497d60d
4 changed files with 32 additions and 0 deletions

View 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