summaryrefslogtreecommitdiff
path: root/toolchain.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-23 07:37:08 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-23 07:37:08 +0200
commite4c0168e4e8834aea0cfe06b8b2fc8bd63f591bb (patch)
treeaa8060de3abd73dfbf89ed35d054fc470cf445ea /toolchain.cc
parent68bf2848332fd15a2b6dfa49f3a58fccd899dbd7 (diff)
Split libcppbuild.cc into multiple files/modules.
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;
+ }
+}