build(libcomposition): brought working build system into libcomposition

This commit is contained in:
2025-06-21 11:33:27 -04:00
parent 58de341056
commit db88e308de
24 changed files with 424 additions and 76 deletions

23
readme.md Normal file
View File

@@ -0,0 +1,23 @@
# libcomposition
libcomposition is the chemistry tracking tool used by SERiF and related products.
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`
```bash
pip install "meson>=1.5.0"
```
Then from the root libcomposition directory it is as simple as
```bash
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 libcomposition is easy.