#include <PkgConfigHelper.hpp>
|
| static bool | parsePkgConfig (const std::string &pkgConfigFileName, const std::vector< std::string > &searchedFields, std::vector< std::string > &result) |
| |
| static bool | solveString (std::string &input, const std::string &replace, const std::string &by) |
| |
◆ parsePkgConfig()
| bool PkgConfigHelper::parsePkgConfig |
( |
const std::string & |
pkgConfigFileName, |
|
|
const std::vector< std::string > & |
searchedFields, |
|
|
std::vector< std::string > & |
result |
|
) |
| |
|
static |
Helper function that parses a pkg-Config file. Will open the file of the given name, and search for the fields given in searchedFields. The content of the field will be returned in the result vector in the same order as searchedFields.
◆ solveString()
| bool PkgConfigHelper::solveString |
( |
std::string & |
input, |
|
|
const std::string & |
replace, |
|
|
const std::string & |
by |
|
) |
| |
|
static |
Helper function, to replace a given string by a given string in an input string.
The documentation for this class was generated from the following files: