]> git.tdb.fi Git - builder.git/blob - source/toolchain.h
Split Binary filename generation to Executable and SharedLibrary
[builder.git] / source / toolchain.h
1 #ifndef TOOLCHAIN_H_
2 #define TOOLCHAIN_H_
3
4 #include <map>
5 #include <string>
6
7 class Tool;
8
9 class Toolchain
10 {
11 private:
12         typedef std::map<std::string, Tool *> ToolMap;
13
14         ToolMap tools;
15
16 public:
17         ~Toolchain();
18
19         void add_tool(Tool *);
20         const Tool &get_tool(const std::string &) const;
21         const Tool *get_tool_for_suffix(const std::string &) const;
22 };
23
24 #endif