aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-09 16:36:23 +0100
committerdec05eba <dec05eba@protonmail.com>2017-12-09 16:38:31 +0100
commite7384a7672e4449bc194ca3ec66cdd4fcc63801e (patch)
treec79bc4dfbb8b3a752ae33f26f5e1b2992a484ace /include
parent6cc190828160586abc6961354a7c05e99537d7e2 (diff)
Add support for dependencies (including version check)
This currently only works using pkg-config and it only adds linking flags. Need to check with a library that also includes other types of flags. TODO: Fallback to dependencies sub directory and github/server if package not found in pkg-config.
Diffstat (limited to 'include')
-rw-r--r--include/Dependency.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/Dependency.hpp b/include/Dependency.hpp
new file mode 100644
index 0000000..b97c362
--- /dev/null
+++ b/include/Dependency.hpp
@@ -0,0 +1,16 @@
+#ifndef SIBS_DEPENDENCY_HPP
+#define SIBS_DEPENDENCY_HPP
+
+#include <string>
+
+namespace sibs
+{
+ class Dependency
+ {
+ public:
+ std::string name;
+ std::string version;
+ };
+}
+
+#endif //SIBS_DEPENDENCY_HPP