Closed edmonds closed 4 months ago
Hi!
Could you add some tests for this to the CI scripts?
I don't use Meson nor CMake, so having this tested at least in CI can help to make sure that it doesn't unintentionally break.
Hi!
Could you add some tests for this to the CI scripts?
I don't use Meson nor CMake, so having this tested at least in CI can help to make sure that it doesn't unintentionally break.
Sure. I just pushed some additional commits that run the three build systems (CMake, Make, Meson) in CI and also fixed a few deprecation warnings.
Awesome, thank you!
Hi, Frank!
This branch adds a
meson.build
file for building libhydrogen. Not sure if you want another build system in your tree, but since I saw you have a few Makefiles and CMake already, I thought I would check :-)If you aren't familiar with meson and its wrap dependency system , this makes it easy for a meson project to take a dependency on another one, especially and even if the dependency is not available from the OS.
E.g., I want to depend on libhydrogen from a project that I'm working on that uses meson, but libhydrogen is not available from my OS's packages repository, so I added these commits to my project:
https://github.com/edmonds/vacon/commit/045c9202d13b9db2736f2770530d117390791441 https://github.com/edmonds/vacon/commit/82bce87f0f65e11f92adb30fd6e0ce035d5e2cb9
Meson then takes care of automatically downloading libhydrogen and building it into my project if the dependency can't be satisfied from the system:
I also added pkg-config .pc file generation, but if you want a
meson.build
without that functionality that commit can be omitted.Thanks!