An open API service indexing awesome lists of open source software.

https://github.com/rtbo/pkg-config-d

Wraps calls to pkg-config in D and configures dub link stage.
https://github.com/rtbo/pkg-config-d

Last synced: 3 months ago
JSON representation

Wraps calls to pkg-config in D and configures dub link stage.

Awesome Lists containing this project

README

          

# pkg-config-d

Invoke pkg-config from D code.

```d
import pkg_config;
try {
auto lib = pkgConfig("freetype2").libs().invoke();
// use lib.lflags, lib.libs, lib.libPaths
}
catch (Exception ex)
{
// pkg-config not installed or freetype not present
}
```