summaryrefslogtreecommitdiff
path: root/toolchain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain.cc')
-rw-r--r--toolchain.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/toolchain.cc b/toolchain.cc
new file mode 100644
index 0000000..0a8ea98
--- /dev/null
+++ b/toolchain.cc
@@ -0,0 +1,17 @@
+#include "toolchain.h"
+
+#include "libcppbuild.h"
+
+std::string getTool(Tool tool)
+{
+ auto prefix = getConfiguration("prefix");
+
+ switch(tool)
+ {
+ case Tool::CCompiler:
+ case Tool::CppCompiler:
+ case Tool::Archiver:
+ case Tool::Linker:
+ break;
+ }
+}