summaryrefslogtreecommitdiff
path: root/xmake/core/project/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-07-18 11:50:01 +0800
committerruki <[email protected]>2017-07-18 11:50:01 +0800
commitbd56fe4e700dd2dede67bc39f8fa46903bdb8262 (patch)
tree1fd82787124e0e3cb70bf3b5a28c1aceefdb900b /xmake/core/project/project.lua
parentf681b5830054511484277bdf82838cd5bb7a9b66 (diff)
mark add_bindings and add_rbinding as deprecated
Diffstat (limited to 'xmake/core/project/project.lua')
-rw-r--r--xmake/core/project/project.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index 1d9251c45..14b9b7e7e 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -236,8 +236,8 @@ function project._interpreter()
-- option.add_xxx
, "option.add_deps"
, "option.add_vectorexts"
- , "option.add_bindings"
- , "option.add_rbindings"
+ , "option.add_bindings" -- deprecated
+ , "option.add_rbindings" -- deprecated
-- task.set_xxx
, "task.set_category"
, "task.set_menu"
@@ -657,7 +657,7 @@ function project.menu()
first = false
end
- -- make bindings
+ -- deprecated, make bindings
local bindings = nil
if opt:get("bindings") then
bindings = string.join(table.wrap(opt:get("bindings")), ',')