build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.
Change-Id: Iad4f36b3bc82de17803443beed8469794ea45684
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index 9efa9f8..b62788a 100644
--- a/meson.build
+++ b/meson.build
@@ -1,10 +1,10 @@
project(
'gpioplus',
'cpp',
- version: '0.1', meson_version: '>=0.57.0',
+ version: '0.1', meson_version: '>=1.1.1',
default_options: [
'warning_level=3',
- 'cpp_std=c++20',
+ 'cpp_std=c++23',
'tests=' + (meson.is_subproject() ? 'disabled' : 'auto'),
'examples=' + (meson.is_subproject() ? 'false' : 'true'),
])