summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/build/object.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-31 00:01:06 +0800
committerruki <[email protected]>2026-03-31 00:01:06 +0800
commit53748c3a92f9f6c11453ed2f3a9af761275e732a (patch)
treeea8a2aab5e14c25aaa4b1a86098de01db84806b6 /xmake/modules/private/action/build/object.lua
parent90f05f17328ccac2764fb80895ef72c4510d91f6 (diff)
improve more modules commentscomments
Diffstat (limited to 'xmake/modules/private/action/build/object.lua')
-rw-r--r--xmake/modules/private/action/build/object.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/modules/private/action/build/object.lua b/xmake/modules/private/action/build/object.lua
index 837c5fec4..7b9d4afee 100644
--- a/xmake/modules/private/action/build/object.lua
+++ b/xmake/modules/private/action/build/object.lua
@@ -171,6 +171,13 @@ function _add_jobgraph(target, jobgraph, sourcebatch, opt)
end
end
+-- build object files from source batch
+--
+-- @param target the target instance
+-- @param jobgraph the job graph for dependency tracking
+-- @param sourcebatch the source batch {sourcefiles, sourcekind, ...}
+-- @param opt the options, e.g. {progress = {}}
+--
function main(target, jobgraph, sourcebatch, opt)
opt = opt or {}
if jobgraph.add_orders then