Struct cargo_c::pkg_config_gen::PkgConfig
source · pub struct PkgConfig { /* private fields */ }
Implementations§
source§impl PkgConfig
impl PkgConfig
sourcepub fn new(_name: &str, capi_config: &CApiConfig) -> Self
pub fn new(_name: &str, capi_config: &CApiConfig) -> Self
Build a pkgconfig structure with the following defaults:
prefix=/usr/local exec_prefix=${prefix} includedir=${prefix}/include libdir=${exec_prefix}/lib
Name: $name Description: $description Version: $version Cflags: -I${includedir}/$name Libs: -L${libdir} -l$name