Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/cpp-argparse: new package
@ 2026-07-29 15:26 viper
  2026-07-30 16:13 ` Konstantin Menyaev
  2026-08-01 11:52 ` Julien Olivain via buildroot
  0 siblings, 2 replies; 7+ messages in thread
From: viper @ 2026-07-29 15:26 UTC (permalink / raw)
  To: buildroot; +Cc: Konstantin Menyaev

From: Konstantin Menyaev <viper@landau.one>

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>
---
 package/Config.in                    |  1 +
 package/cpp-argparse/Config.in       | 12 ++++++++++++
 package/cpp-argparse/cpp-argparse.mk | 16 ++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 100644 package/cpp-argparse/Config.in
 create mode 100644 package/cpp-argparse/cpp-argparse.mk

diff --git a/package/Config.in b/package/Config.in
index fc1e57d30d..cdf996fe24 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/cpp-argparse/Config.in b/package/cpp-argparse/Config.in
new file mode 100644
index 0000000000..7ad91f7bbc
--- /dev/null
+++ b/package/cpp-argparse/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_CPP_ARGPARSE
+	bool "cpp-argparse"
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
+	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 >= 7"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_7
diff --git a/package/cpp-argparse/cpp-argparse.mk b/package/cpp-argparse/cpp-argparse.mk
new file mode 100644
index 0000000000..7978fd224c
--- /dev/null
+++ b/package/cpp-argparse/cpp-argparse.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# cpp-argparse
+#
+################################################################################
+
+CPP_ARGPARSE_VERSION = v3.2
+CPP_ARGPARSE_SITE = $(call github,p-ranav,argparse,$(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))
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/cpp-argparse: new package
  2026-07-29 15:26 [Buildroot] [PATCH 1/1] package/cpp-argparse: new package viper
@ 2026-07-30 16:13 ` Konstantin Menyaev
  2026-08-01 11:52 ` Julien Olivain via buildroot
  1 sibling, 0 replies; 7+ messages in thread
From: Konstantin Menyaev @ 2026-07-30 16:13 UTC (permalink / raw)
  To: buildroot

On 7/29/26 18:26, viper@landau.one wrote:
> From: Konstantin Menyaev <viper@landau.one>
> 
> 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>
> ---
>   package/Config.in                    |  1 +
>   package/cpp-argparse/Config.in       | 12 ++++++++++++
>   package/cpp-argparse/cpp-argparse.mk | 16 ++++++++++++++++
>   3 files changed, 29 insertions(+)
>   create mode 100644 package/cpp-argparse/Config.in
>   create mode 100644 package/cpp-argparse/cpp-argparse.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index fc1e57d30d..cdf996fe24 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -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"
> diff --git a/package/cpp-argparse/Config.in b/package/cpp-argparse/Config.in
> new file mode 100644
> index 0000000000..7ad91f7bbc
> --- /dev/null
> +++ b/package/cpp-argparse/Config.in
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_CPP_ARGPARSE
> +	bool "cpp-argparse"
> +	depends on BR2_INSTALL_LIBSTDCPP
> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
> +	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 >= 7"
> +	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_7
> diff --git a/package/cpp-argparse/cpp-argparse.mk b/package/cpp-argparse/cpp-argparse.mk
> new file mode 100644
> index 0000000000..7978fd224c
> --- /dev/null
> +++ b/package/cpp-argparse/cpp-argparse.mk
> @@ -0,0 +1,16 @@
> +################################################################################
> +#
> +# cpp-argparse
> +#
> +################################################################################
> +
> +CPP_ARGPARSE_VERSION = v3.2
> +CPP_ARGPARSE_SITE = $(call github,p-ranav,argparse,$(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))

Some notes...

This package provides a lightweight command-line argument parser for C++ 
applications. Buildroot already includes a similar package for Lua, but 
no equivalent is currently available for C++. This is useful for custom 
tools & helpers.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/cpp-argparse: new package
  2026-07-29 15:26 [Buildroot] [PATCH 1/1] package/cpp-argparse: new package viper
  2026-07-30 16:13 ` Konstantin Menyaev
@ 2026-08-01 11:52 ` Julien Olivain via buildroot
  2026-08-01 13:57   ` [Buildroot] Thanks for remarks, done viper
                     ` (2 more replies)
  1 sibling, 3 replies; 7+ messages in thread
From: Julien Olivain via buildroot @ 2026-08-01 11:52 UTC (permalink / raw)
  To: viper; +Cc: buildroot

Hi Konstantin,

Thanks for the patch. I have few comments, see below.

On 29/07/2026 17:26, viper@landau.one wrote:
> From: Konstantin Menyaev <viper@landau.one>
> 
> 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>
> ---
>  package/Config.in                    |  1 +
>  package/cpp-argparse/Config.in       | 12 ++++++++++++
>  package/cpp-argparse/cpp-argparse.mk | 16 ++++++++++++++++
>  3 files changed, 29 insertions(+)
>  create mode 100644 package/cpp-argparse/Config.in
>  create mode 100644 package/cpp-argparse/cpp-argparse.mk

Your submission misses the cpp-argparse.hash file. Could you add
it please? See:
https://nightly.buildroot.org/manual.html#adding-packages-hash

You can check that with commands:

make cpp-argparse-source
WARNING: no hash file for cpp-argparse-v3.2.tar.gz

make cpp-argparse-legal-info
WARNING: no hash file for LICENSE

[...]
> diff --git a/package/cpp-argparse/Config.in 
> b/package/cpp-argparse/Config.in
> new file mode 100644
> index 0000000000..7ad91f7bbc
> --- /dev/null
> +++ b/package/cpp-argparse/Config.in
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_CPP_ARGPARSE
> +	bool "cpp-argparse"
> +	depends on BR2_INSTALL_LIBSTDCPP
> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7

Upstream says the package requires gcc >= 8. Could you align to
this version please?
https://github.com/p-ranav/argparse/blob/v3.2/README.md?plain=1#L1432

> +	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 >= 7"
> +	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_7

Please adjust the gcc version here too.

> diff --git a/package/cpp-argparse/cpp-argparse.mk 
> b/package/cpp-argparse/cpp-argparse.mk
> new file mode 100644
> index 0000000000..7978fd224c
> --- /dev/null
> +++ b/package/cpp-argparse/cpp-argparse.mk
> @@ -0,0 +1,16 @@
> +################################################################################
> +#
> +# cpp-argparse
> +#
> +################################################################################
> +
> +CPP_ARGPARSE_VERSION = v3.2
> +CPP_ARGPARSE_SITE = $(call 
> github,p-ranav,argparse,$(CPP_ARGPARSE_VERSION))

For automated release monitoring, could you please move the 'v'
to _SITE to have instead:

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))
> --
> 2.55.0

Could you send an updated patch addressing those comments, please?

Best regards,

Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] Thanks for remarks, done.
  2026-08-01 11:52 ` Julien Olivain via buildroot
@ 2026-08-01 13:57   ` viper
  2026-08-01 14:04   ` viper
  2026-08-01 14:09   ` [Buildroot] [PATCH v2 1/1] package/cpp-argparse: new package viper
  2 siblings, 0 replies; 7+ messages in thread
From: viper @ 2026-08-01 13:57 UTC (permalink / raw)
  To: buildroot; +Cc: Hi., Konstantin Menyaev

From 301e2cfaa1ff0fa5b80bd17273507525f087b7cb Mon Sep 17 00:00:00 2001
From: Konstantin Menyaev <viper@landau.one>
Date: Tue, 16 Jun 2026 09:54:47 +0300
Subject: [PATCH v2 1/1] 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>
---
 package/Config.in                      |  1 +
 package/cpp-argparse/Config.in         | 12 ++++++++++++
 package/cpp-argparse/cpp-argparse.hash |  3 +++
 package/cpp-argparse/cpp-argparse.mk   | 16 ++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/cpp-argparse/Config.in
 create mode 100644 package/cpp-argparse/cpp-argparse.hash
 create mode 100644 package/cpp-argparse/cpp-argparse.mk

diff --git a/package/Config.in b/package/Config.in
index fc1e57d30d..cdf996fe24 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/cpp-argparse/Config.in b/package/cpp-argparse/Config.in
new file mode 100644
index 0000000000..afb0e224c1
--- /dev/null
+++ b/package/cpp-argparse/Config.in
@@ -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
diff --git a/package/cpp-argparse/cpp-argparse.hash b/package/cpp-argparse/cpp-argparse.hash
new file mode 100644
index 0000000000..3a46ded059
--- /dev/null
+++ b/package/cpp-argparse/cpp-argparse.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256  9dcb3d8ce0a41b2a48ac8baa54b51a9f1b6a2c52dd374e28cc713bab0568ec98  cpp-argparse-3.2.tar.gz
+sha256  a3a9e0dc669644b703773777503f73abff8dffacc4e697d8535be930766fa771  LICENSE
diff --git a/package/cpp-argparse/cpp-argparse.mk b/package/cpp-argparse/cpp-argparse.mk
new file mode 100644
index 0000000000..53b1cd241b
--- /dev/null
+++ b/package/cpp-argparse/cpp-argparse.mk
@@ -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))
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] Thanks for remarks, done.
  2026-08-01 11:52 ` Julien Olivain via buildroot
  2026-08-01 13:57   ` [Buildroot] Thanks for remarks, done viper
@ 2026-08-01 14:04   ` viper
  2026-08-01 14:09   ` [Buildroot] [PATCH v2 1/1] package/cpp-argparse: new package viper
  2 siblings, 0 replies; 7+ messages in thread
From: viper @ 2026-08-01 14:04 UTC (permalink / raw)
  To: buildroot; +Cc: ju.o, Hi., Konstantin Menyaev

From 301e2cfaa1ff0fa5b80bd17273507525f087b7cb Mon Sep 17 00:00:00 2001
From: Konstantin Menyaev <viper@landau.one>
Date: Tue, 16 Jun 2026 09:54:47 +0300
Subject: [PATCH v2 1/1] 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>
---
 package/Config.in                      |  1 +
 package/cpp-argparse/Config.in         | 12 ++++++++++++
 package/cpp-argparse/cpp-argparse.hash |  3 +++
 package/cpp-argparse/cpp-argparse.mk   | 16 ++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/cpp-argparse/Config.in
 create mode 100644 package/cpp-argparse/cpp-argparse.hash
 create mode 100644 package/cpp-argparse/cpp-argparse.mk

diff --git a/package/Config.in b/package/Config.in
index fc1e57d30d..cdf996fe24 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/cpp-argparse/Config.in b/package/cpp-argparse/Config.in
new file mode 100644
index 0000000000..afb0e224c1
--- /dev/null
+++ b/package/cpp-argparse/Config.in
@@ -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
diff --git a/package/cpp-argparse/cpp-argparse.hash b/package/cpp-argparse/cpp-argparse.hash
new file mode 100644
index 0000000000..3a46ded059
--- /dev/null
+++ b/package/cpp-argparse/cpp-argparse.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256  9dcb3d8ce0a41b2a48ac8baa54b51a9f1b6a2c52dd374e28cc713bab0568ec98  cpp-argparse-3.2.tar.gz
+sha256  a3a9e0dc669644b703773777503f73abff8dffacc4e697d8535be930766fa771  LICENSE
diff --git a/package/cpp-argparse/cpp-argparse.mk b/package/cpp-argparse/cpp-argparse.mk
new file mode 100644
index 0000000000..53b1cd241b
--- /dev/null
+++ b/package/cpp-argparse/cpp-argparse.mk
@@ -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))
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v2 1/1] package/cpp-argparse: new package
  2026-08-01 11:52 ` Julien Olivain via buildroot
  2026-08-01 13:57   ` [Buildroot] Thanks for remarks, done viper
  2026-08-01 14:04   ` viper
@ 2026-08-01 14:09   ` viper
  2026-08-01 14:27     ` Julien Olivain via buildroot
  2 siblings, 1 reply; 7+ messages in thread
From: viper @ 2026-08-01 14:09 UTC (permalink / raw)
  To: buildroot; +Cc: ju.o, Konstantin Menyaev

From: Konstantin Menyaev <viper@landau.one>

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>
---
 package/Config.in                      |  1 +
 package/cpp-argparse/Config.in         | 12 ++++++++++++
 package/cpp-argparse/cpp-argparse.hash |  3 +++
 package/cpp-argparse/cpp-argparse.mk   | 16 ++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/cpp-argparse/Config.in
 create mode 100644 package/cpp-argparse/cpp-argparse.hash
 create mode 100644 package/cpp-argparse/cpp-argparse.mk

diff --git a/package/Config.in b/package/Config.in
index fc1e57d30d..cdf996fe24 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/cpp-argparse/Config.in b/package/cpp-argparse/Config.in
new file mode 100644
index 0000000000..afb0e224c1
--- /dev/null
+++ b/package/cpp-argparse/Config.in
@@ -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
diff --git a/package/cpp-argparse/cpp-argparse.hash b/package/cpp-argparse/cpp-argparse.hash
new file mode 100644
index 0000000000..3a46ded059
--- /dev/null
+++ b/package/cpp-argparse/cpp-argparse.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256  9dcb3d8ce0a41b2a48ac8baa54b51a9f1b6a2c52dd374e28cc713bab0568ec98  cpp-argparse-3.2.tar.gz
+sha256  a3a9e0dc669644b703773777503f73abff8dffacc4e697d8535be930766fa771  LICENSE
diff --git a/package/cpp-argparse/cpp-argparse.mk b/package/cpp-argparse/cpp-argparse.mk
new file mode 100644
index 0000000000..53b1cd241b
--- /dev/null
+++ b/package/cpp-argparse/cpp-argparse.mk
@@ -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))
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [Buildroot] [PATCH v2 1/1] package/cpp-argparse: new package
  2026-08-01 14:09   ` [Buildroot] [PATCH v2 1/1] package/cpp-argparse: new package viper
@ 2026-08-01 14:27     ` Julien Olivain via buildroot
  0 siblings, 0 replies; 7+ messages in thread
From: Julien Olivain via buildroot @ 2026-08-01 14:27 UTC (permalink / raw)
  To: viper; +Cc: buildroot

On 01/08/2026 16:09, viper@landau.one wrote:
> From: Konstantin Menyaev <viper@landau.one>
> 
> 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>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-08-01 14:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-29 15:26 [Buildroot] [PATCH 1/1] package/cpp-argparse: new package viper
2026-07-30 16:13 ` Konstantin Menyaev
2026-08-01 11:52 ` Julien Olivain via buildroot
2026-08-01 13:57   ` [Buildroot] Thanks for remarks, done viper
2026-08-01 14:04   ` viper
2026-08-01 14:09   ` [Buildroot] [PATCH v2 1/1] package/cpp-argparse: new package viper
2026-08-01 14:27     ` Julien Olivain via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox