29 bool disabled =
false;
36 if (largs[0] !=
'-') {
45 package->
largs = largs;
50 if (package->
cargs.size() > 3) {
bool is_system_enabled()
Check if CBuild::system enabled.
void print(std::string msg, color fg=CBuild::WHITE)
Print colored text to STDOUT.
void enable_system()
Reanable system commands execution, used only in pkg-config.
bool get_pkg_info(CBuild::package_info *package)
Get the package info from pkg-config database.
void disable_system()
Disable system commands execution.
std::string system_piped(std::string cmd, unsigned int buffsize)
Execute command and return it's output.
pkg-config interface header Provides interface to pkg-config cli tool, including some parts of error ...
Custom print that support color codes.
Package info struct for data for pkg-config.
std::string largs
Package link args.
std::string name
Package name.
std::string cargs
Package compile args.