3 ms·
Just out of curiosity, which packages do use Meson as wrapper over CMake? Sounds like total misuse but I'm interested in how it's done.
by oriolid 5y ago
Just out of curiosity, which packages do use Meson as wrapper over CMake? Sounds like total misuse but I'm interested in how it's done.
- misnome 5y agoNot specifically a wrapper, but it's built into Meson: https://mesonbuild.com/Dependencies.html#dependency-detection-method https://mesonbuild.com/Dependencies.html#dependency-detectio... > For dependencies without specific detection logic, the dependency method order for auto is: pkg-config cmake
- oriolid 5y agoThanks. It's a fairly new feature, I didn't know about it. It's certainly annoying that distros don't have good pkg-config support, it would be so much nicer than writing detection logic or reusing CMake.
- mathstuf 5y ago(FD: CMake developer) In my experience, it's that pkg-config assumes that everything needed to consume a library can be communicated via flags spelled as GCC spells them. There are many compilers which don't speak GCC on the command line. Some are popular (Intel and MSVC come to mind).
- oriolid 5y agoGood point. I have always been thinking that the practical way with MSVC is to just embed everything into the project because everything else is too much work. Perhaps it's time to change that now.