diff options
Diffstat (limited to 'xmake/actions/build/kinds/object.lua')
| -rw-r--r-- | xmake/actions/build/kinds/object.lua | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/xmake/actions/build/kinds/object.lua b/xmake/actions/build/kinds/object.lua index 70d4dabc6..8cf9bba99 100644 --- a/xmake/actions/build/kinds/object.lua +++ b/xmake/actions/build/kinds/object.lua @@ -145,14 +145,9 @@ function build_sourcefiles(target, sourcebatches, opt) end -- build objects for the given target -function build(target, buildinfo) - - -- compute the progress range - local progress = {} - progress.start = (buildinfo.targetindex * 100) / buildinfo.targetcount - progress.stop = ((buildinfo.targetindex + 1) * 100) / buildinfo.targetcount +function build(target, opt) -- build source files - build_sourcefiles(target, target:sourcebatches(), {progress = progress}) + build_sourcefiles(target, target:sourcebatches(), opt) end |
