summaryrefslogtreecommitdiff
path: root/xmake/core/project/target.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-09-14 08:54:54 +0800
committerruki <[email protected]>2019-09-14 08:54:54 +0800
commitc08df8d304703ca1153019825ac3cc378ac92e32 (patch)
tree05ecce5356d8e25b20136125c75a351b9c7f1371 /xmake/core/project/target.lua
parent56021b09ccfadde89756298c7d9afd688c896d21 (diff)
uses set_toolchain instead of set_tools and add_tools
Diffstat (limited to 'xmake/core/project/target.lua')
-rw-r--r--xmake/core/project/target.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index 5584ed569..0c3802347 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -1602,6 +1602,7 @@ function target.apis()
"target.set_values"
, "target.set_configvar"
, "target.set_runenv"
+ , "target.set_toolchain"
-- target.add_xxx
, "target.add_values"
, "target.add_runenvs"
@@ -1626,8 +1627,8 @@ function target.apis()
, dictionary =
{
-- target.set_xxx
- "target.set_tools"
- , "target.add_tools"
+ "target.set_tools" -- TODO: deprecated
+ , "target.add_tools" -- TODO: deprecated
}
, script =
{