summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-22 17:35:50 +0800
committerGitHub <[email protected]>2025-04-22 17:35:50 +0800
commit700b5497b88aecdfc604ef866f666d13f7d6c0b5 (patch)
tree93865cf2b7b790c164a4ba42cdc280c558e02a8a
parenta0d0742175678a5829cbda0ada1f6cb89883214e (diff)
Update xmake.lua
-rw-r--r--xmake/rules/platform/windows/idl/xmake.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/rules/platform/windows/idl/xmake.lua b/xmake/rules/platform/windows/idl/xmake.lua
index f7a47b230..4e3aabd1b 100644
--- a/xmake/rules/platform/windows/idl/xmake.lua
+++ b/xmake/rules/platform/windows/idl/xmake.lua
@@ -23,9 +23,11 @@ rule("platform.windows.idl")
on_config("windows", "mingw", function (target)
import("idl").configure(target)
end)
+
before_build_files(function (target, jobgraph, sourcebatch, opt)
- import("idl").gen_idl(target, jobgraph, sourcebatch, opt)
+ import("idl").generate_idl(target, jobgraph, sourcebatch, opt)
end, {jobgraph = true, batch = true})
+
on_build_files(function (target, jobgraph, sourcebatch, opt)
import("idl").build_idlfiles(target, jobgraph, sourcebatch, opt)
end, {jobgraph = true, batch = true, distcc = true})