diff options
| author | ruki <[email protected]> | 2017-07-18 11:50:01 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-18 11:50:01 +0800 |
| commit | bd56fe4e700dd2dede67bc39f8fa46903bdb8262 (patch) | |
| tree | 1fd82787124e0e3cb70bf3b5a28c1aceefdb900b | |
| parent | f681b5830054511484277bdf82838cd5bb7a9b66 (diff) | |
mark add_bindings and add_rbinding as deprecated
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | xmake/core/project/project.lua | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 26fdc1bdd..ba3975d98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ * Improve the option detection (cache and multi-jobs) and increase 70% speed * [#129](https://github.com/tboox/xmake/issues/129): Check link deps and cache the target file * Support `*.asm` source files for vs201x project plugin +* Mark `add_bindings` and `add_rbindings` as deprecated ### Bugs fixed @@ -344,6 +345,7 @@ * 改进option选项检测,通过多任务检测,提升70%的检测速度 * [#129](https://github.com/tboox/xmake/issues/129): 检测链接依赖,如果源文件没有改变,就不必重新链接目标文件了 * 在vs201x工程插件中增加对`*.asm`文件的支持 +* 标记`add_bindings`和`add_rbindings`为废弃接口 ### Bugs修复 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")), ',') |
