summaryrefslogtreecommitdiff
path: root/xmake/core/tool
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-16 10:24:27 +0800
committerruki <[email protected]>2020-05-16 10:24:27 +0800
commit82bf1252a0104734b8f3b5d7ef154d3025b9f96f (patch)
tree063d6736c649895c6c567c5116755b757d479761 /xmake/core/tool
parentc6c71612e034c2e741add2b9deb69be4c93a8388 (diff)
get tool from toolchains
Diffstat (limited to 'xmake/core/tool')
-rw-r--r--xmake/core/tool/toolchain.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/core/tool/toolchain.lua b/xmake/core/tool/toolchain.lua
index ba5640126..ef2b4eda6 100644
--- a/xmake/core/tool/toolchain.lua
+++ b/xmake/core/tool/toolchain.lua
@@ -80,6 +80,10 @@ function _instance:get(name)
return self._INFO:get(name)
end
+-- get the program and name of the given tool kind
+function _instance:tool(toolkind)
+end
+
-- get the toolchain script
function _instance:script(name)
return self._INFO:get(name)