aboutsummaryrefslogtreecommitdiff
path: root/include/PkgConfig.hpp
blob: 4bafa180761357f23bc6f1caf0d66f6f88ad0180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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