summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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})