diff options
Diffstat (limited to 'include/PkgConfig.hpp')
-rw-r--r-- | include/PkgConfig.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/PkgConfig.hpp b/include/PkgConfig.hpp new file mode 100644 index 0000000..4bafa18 --- /dev/null +++ b/include/PkgConfig.hpp @@ -0,0 +1,19 @@ +#ifndef SIBS_PKGCONFIG_HPP +#define SIBS_PKGCONFIG_HPP + +#include "Result.hpp" +#include <string> +#include <vector> + +namespace sibs +{ + class PkgConfig + { + public: + static Result<bool> validatePackageExists(const std::string &name); + static Result<bool> validatePackageVersionAtLeast(const std::string &name, const std::string &version); + static Result<std::string> getDynamicLibsLinkerFlags(const std::vector<std::string> &libs); + }; +} + +#endif //SIBS_PKGCONFIG_HPP |