]> git.tdb.fi Git - builder.git/blobdiff - source/toolchain.h
Refactor transitive dependencies to work on all targets
[builder.git] / source / toolchain.h
diff --git a/source/toolchain.h b/source/toolchain.h
deleted file mode 100644 (file)
index ea45240..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef TOOLCHAIN_H_
-#define TOOLCHAIN_H_
-
-#include <map>
-#include <string>
-#include <vector>
-
-class Tool;
-
-/**
-A container for tools.  Performs lookup based on tag or filename extension.
-*/
-class Toolchain
-{
-private:
-       std::map<std::string, Tool *> tools;
-       std::vector<Toolchain *> chains;
-
-public:
-       ~Toolchain();
-
-       void add_tool(Tool *);
-       void add_toolchain(Toolchain *);
-       bool has_tool(const std::string &) const;
-       Tool &get_tool(const std::string &) const;
-       Tool *get_tool_for_suffix(const std::string &, bool = false) const;
-};
-
-#endif