From 1d3e221a7a20bfd03517e3ae1e35e4a309a69b6a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 10 Dec 2017 01:10:48 +0100 Subject: Add support for dependencies in global lib dir Global lib dir is located at ~/.sibs/lib TODO: If global lib dir doesn't exist, download it from github/server --- include/GlobalLib.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/GlobalLib.hpp (limited to 'include/GlobalLib.hpp') diff --git a/include/GlobalLib.hpp b/include/GlobalLib.hpp new file mode 100644 index 0000000..e5a9374 --- /dev/null +++ b/include/GlobalLib.hpp @@ -0,0 +1,16 @@ +#ifndef SIBS_GLOBALLIB_HPP +#define SIBS_GLOBALLIB_HPP + +#include "Result.hpp" + +namespace sibs +{ + class GlobalLib + { + public: + static Result validatePackageExists(const std::string &globalLibRootDir, const std::string &name); + static Result getDynamicLibsLinkerFlags(const std::string &globalLibRootDir, const std::string &name, const std::string &version); + }; +} + +#endif //SIBS_GLOBALLIB_HPP -- cgit v1.2.3