05b7b94c83b0fb70673675efb1faeb62a8f3649d
YAML is a horrid format with far too many edge cases. We have switched to TOML. Further, we have completly reworked the framework so that 1. There is no longer any global config state. Config objects now must be passed between scopes by the caller. This will introduce some more friction but whill also make order of initialization clear 2. Config objects are now strongly typed and there is a single sourth of truth for any given config object baked in using the some struct.
libconfig
libconfig is the unified configuration module for SERiF and related projects
This has been broken out of the main serif project to allow for more modularity
Building
In order to build libconstants you need meson>=1.5.0. This can be installed with pip
pip install "meson>=1.5.0"
Then from the root libconstants directory it is as simple as
meson setup build --buildtype=release
meson compile -C build
meson test -C build
this will auto generate a pkg-config file for you so that linking other libraries to libconfig is easy.
Description
Languages
C++
61.6%
C
38.2%
Meson
0.2%