2 ms·
C on Unices is very well served by pkg-config[1] and its reimplementations[2,3]. (The last of these should also work well with MSYS2 on Windows, but it’s not—ye
by mananaysiempre 2y ago
C on Unices is very well served by pkg-config[1] and its reimplementations[2,3]. (The last of these should also work well with MSYS2 on Windows, but it’s not—yet?—widely used in that environment.) The nice thing is that it has no opinions on your build system or even package manager, it’s purely for package discovery at build time.
[1] https://www.freedesktop.org/wiki/Software/pkg-config/ https://www.freedesktop.org/wiki/Software/pkg-config/
[2] http://pkgconf.org/ http://pkgconf.org/
[3] https://nullprogram.com/blog/2023/01/18/ https://nullprogram.com/blog/2023/01/18/