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: I78bb5368b168ddc5ead8cb6efb114fb870aba891
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
1 file changed
tree: f67180915ff08065d4c604a6c0a18492e8d0b726
  1. example/
  2. src/
  3. subprojects/
  4. test/
  5. .clang-format
  6. .clang-tidy
  7. .gitignore
  8. .lcovrc
  9. LICENSE
  10. meson.build
  11. meson_options.txt
  12. OWNERS
  13. README.md
README.md

sdeventplus

sdeventplus is a c++ wrapper around the systemd sd_event apis meant to provide c++ ergonomics to their usage.

Dependencies

The sdeventplus library requires a libsystemd development package on the system for sd-event.

Building

For a standard release build, you want something like:

meson setup -Dexamples=false -Dtests=disabled builddir
ninja -C builddir
ninja -C builddir install

For a test / debug build, a typical configuration is

meson setup -Dtests=enabled builddir
meson test -C builddir