aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-03-29 01:37:10 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:58 +0200
commitf9666347840e519f6248c71688b57227bca4f454 (patch)
tree91362ea567f8e8817b2d84b4dae6be603d80f703 /include
parentc6e8fe8125f8900f3019716aa1cfbf18ff8264bd (diff)
Add 'lib' config, for including external libraries without pkg-config
Diffstat (limited to 'include')
-rw-r--r--include/Conf.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/Conf.hpp b/include/Conf.hpp
index 892b7b6..a854552 100644
--- a/include/Conf.hpp
+++ b/include/Conf.hpp
@@ -288,6 +288,11 @@ namespace sibs
return exposeIncludeDirs;
}
+ virtual const std::vector<std::string>& getLibs() const
+ {
+ return libs;
+ }
+
virtual const std::vector<Platform>& getPlatforms() const
{
return platforms;
@@ -423,6 +428,7 @@ namespace sibs
std::vector<std::string> includeDirs;
std::vector<std::string> exposeIncludeDirs;
std::vector<std::string> ignoreDirs;
+ std::vector<std::string> libs;
protected:
virtual void processObject(StringView name) override;
virtual void processField(StringView name, const ConfigValue &value) override;