#include <pkgconfig.hh>
Public Types | |
enum | Modes { All, Path, Other, Static, Libraries, All, Path, Other, Static, Libraries } |
enum | Modes { All, Path, Other, Static, Libraries, All, Path, Other, Static, Libraries } |
Public Member Functions | |
string | compiler (Modes mode=pkgconfig::All) const |
string | compiler (Modes mode=pkgconfig::All) const |
string | get (string const &var, string const &defval=string()) const |
string | get (string const &var, string const &defval=string()) const |
string | linker (Modes mode=pkgconfig::All) const |
string | linker (Modes mode=pkgconfig::All) const |
string | name () const |
string | name () const |
pkgconfig (string const &name) | |
pkgconfig (string const &name) | |
string | version () const |
string | version () const |
~pkgconfig () | |
~pkgconfig () | |
Static Public Member Functions | |
static bool | exists (string const &name) |
static bool | exists (string const &name) |
static std::list< string > | packages () |
static std::list< string > | packages () |
Private Types | |
typedef std::string | string |
typedef std::string | string |
Private Member Functions | |
string | run (string const &argument) const |
string | run (string const &argument) const |
Static Private Member Functions | |
static string | run (process &prs) |
static string | run (process &prs) |
Private Attributes | |
string | m_name |
Definition at line 13 of file install/include/utilmm/configfile/pkgconfig.hh.
typedef std::string utilmm::pkgconfig::string [private] |
Definition at line 15 of file utilmm/configfile/pkgconfig.hh.
typedef std::string utilmm::pkgconfig::string [private] |
Definition at line 15 of file install/include/utilmm/configfile/pkgconfig.hh.
Definition at line 35 of file utilmm/configfile/pkgconfig.hh.
Definition at line 35 of file install/include/utilmm/configfile/pkgconfig.hh.
pkgconfig::pkgconfig | ( | string const & | name | ) |
Creates a package description file.
not_found(name) | if the package is not available |
Definition at line 11 of file pkgconfig.cc.
pkgconfig::~pkgconfig | ( | ) |
Definition at line 18 of file pkgconfig.cc.
utilmm::pkgconfig::pkgconfig | ( | string const & | name | ) |
Creates a package description file.
not_found(name) | if the package is not available |
utilmm::pkgconfig::~pkgconfig | ( | ) |
Get compile flags for the given mode
Get compile flags for the given mode
Definition at line 63 of file pkgconfig.cc.
static bool utilmm::pkgconfig::exists | ( | string const & | name | ) | [static] |
Checks if the given package is available
bool pkgconfig::exists | ( | string const & | name | ) | [static] |
Checks if the given package is available
Definition at line 46 of file pkgconfig.cc.
Get a variable defined in this package description
Get a variable defined in this package description
Definition at line 55 of file pkgconfig.cc.
Get link flags for the given mode
Get link flags for the given mode
Definition at line 67 of file pkgconfig.cc.
string utilmm::pkgconfig::name | ( | ) | const |
The package name
string pkgconfig::name | ( | ) | const |
The package name
Definition at line 43 of file pkgconfig.cc.
static std::list<string> utilmm::pkgconfig::packages | ( | ) | [static] |
std::list< string > pkgconfig::packages | ( | ) | [static] |
Definition at line 20 of file pkgconfig.cc.
Get the value returned by pkgconfig with the given argument applied to the current package
Run the given process object and returns its standard output
Get the value returned by pkgconfig with the given argument applied to the current package
Definition at line 74 of file pkgconfig.cc.
Run the given process object and returns its standard output
Definition at line 87 of file pkgconfig.cc.
string utilmm::pkgconfig::version | ( | ) | const |
The package version
string pkgconfig::version | ( | ) | const |
The package version
Definition at line 44 of file pkgconfig.cc.
string utilmm::pkgconfig::m_name [private] |
The package name
Definition at line 48 of file install/include/utilmm/configfile/pkgconfig.hh.