diff options
| author | ruki <[email protected]> | 2018-05-08 22:52:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-05-08 11:16:55 +0800 |
| commit | b5333b27b79f7cabbdc8d75356b2de118f9ea744 (patch) | |
| tree | f4cb719e259ae64b6a48ab35a425eb0db76cd3ab /xmake/actions/build/builder.lua | |
| parent | c61545b0275b64c8b0294ce69e635e30475a2239 (diff) | |
improve build deps
Diffstat (limited to 'xmake/actions/build/builder.lua')
| -rw-r--r-- | xmake/actions/build/builder.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xmake/actions/build/builder.lua b/xmake/actions/build/builder.lua index b8ad09fdc..d69322da1 100644 --- a/xmake/actions/build/builder.lua +++ b/xmake/actions/build/builder.lua @@ -84,7 +84,7 @@ function _build_target(target) } -- clean target if rebuild - if _g.rebuild then + if option.get("rebuild") then _clean_target(target) end @@ -164,7 +164,7 @@ function _stat_target_count(targetname) end -- build -function build(targetname, rebuild) +function build(targetname) -- enter toolchains environment environment.enter("toolchains") @@ -172,9 +172,6 @@ function build(targetname, rebuild) -- stat targets count _stat_target_count(targetname) - -- mark as rebuild - _g.rebuild = rebuild - -- clear finished states _g.finished = {} |
