aboutsummaryrefslogtreecommitdiff
path: root/include/GlobalLib.hpp
blob: d5e21d1a50001b979ef1be36f05c8513c8df8842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef SIBS_GLOBALLIB_HPP
#define SIBS_GLOBALLIB_HPP

#include "Result.hpp"
#include "Linker.hpp"

namespace sibs
{
    class GlobalLib
    {
    public:
        static Result<bool> validatePackageExists(const std::string &globalLibRootDir, const std::string &name);
        static Result<std::string> getStaticLibsLinkerFlags(const std::string &globalLibRootDir, const std::string &name, const std::string &version, LinkerFlagCallbackFunc linkerFlagCallbackFunc);
    };
}

#endif //SIBS_GLOBALLIB_HPP