From e7384a7672e4449bc194ca3ec66cdd4fcc63801e Mon Sep 17 00:00:00 2001
From: dec05eba <dec05eba@protonmail.com>
Date: Sat, 9 Dec 2017 16:36:23 +0100
Subject: 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.
---
 include/Dependency.hpp | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 include/Dependency.hpp

(limited to 'include')

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
-- 
cgit v1.2.3-70-g09d2