diff options
| author | Christian Rendina <[email protected]> | 2025-04-15 15:40:44 +0200 |
|---|---|---|
| committer | Christian Rendina <[email protected]> | 2025-04-15 15:40:44 +0200 |
| commit | d9d3b81f0804717fa1055c7106de72445d2b2264 (patch) | |
| tree | fb58f325c4c1e9e54a18914563330fdc67d8f0c4 /xmake/rules/platform | |
| parent | 228a13777b5c0c5e8c0c09f1eefa73add81c269e (diff) | |
Address formatting
Diffstat (limited to 'xmake/rules/platform')
| -rw-r--r-- | xmake/rules/platform/windows/idl/idl.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xmake/rules/platform/windows/idl/idl.lua b/xmake/rules/platform/windows/idl/idl.lua index 17190be12..f44611424 100644 --- a/xmake/rules/platform/windows/idl/idl.lua +++ b/xmake/rules/platform/windows/idl/idl.lua @@ -36,7 +36,6 @@ function generate_single(target, sourcefile, opt) local incs = table.wrap(target:get("includedirs") or {}) local undefs = table.wrap(target:get("undefines") or {}) - if fileconfig then if fileconfig.server ~= nil then enable_server = fileconfig.server @@ -55,7 +54,6 @@ function generate_single(target, sourcefile, opt) end end - local flags = {"/nologo"} table.join2(flags, table.wrap(target:values("idl.flags"))) @@ -112,8 +110,6 @@ function generate_single(target, sourcefile, opt) ) end --- add *.idl for rc file - function configure(target) local sourcebatch = target:sourcebatches()["platform.windows.idl"] if sourcebatch then @@ -147,6 +143,8 @@ function build_idlfiles(target, jobgraph, sourcebatch, opt) local name = path.basename(sourcefile) + -- we don't have a way to detect which midl files are generated + addsrc(name, "_i.c") if enable_proxy then @@ -157,8 +155,6 @@ function build_idlfiles(target, jobgraph, sourcebatch, opt) addsrc(name, "_s.c") end - -- we don't have a way to detect which midl files are generated - local batchcxx = { rulename = "c.build", sourcekind = "cc", |
