diff options
| author | ruki <[email protected]> | 2026-07-18 00:27:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-07-18 00:27:46 +0800 |
| commit | 063bae8898d09f1f999a6fb2ad7a139777ebb7d7 (patch) | |
| tree | c8752db7e8c79e109b4e67b3e18b1770d9ee8e9d /xmake/plugins/project/utils/target_cmds.lua | |
| parent | 77aa979dc7fc9169ed0cc8d71511c785288b47ef (diff) | |
add batchcmds:call warnings
Diffstat (limited to 'xmake/plugins/project/utils/target_cmds.lua')
| -rw-r--r-- | xmake/plugins/project/utils/target_cmds.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/plugins/project/utils/target_cmds.lua b/xmake/plugins/project/utils/target_cmds.lua index 7ea3a13a0..1c5fed7c8 100644 --- a/xmake/plugins/project/utils/target_cmds.lua +++ b/xmake/plugins/project/utils/target_cmds.lua @@ -87,6 +87,9 @@ function get_target_buildcmds(target, opt) cmd.program = os.programfile() cmd.argv = table.join("lua", cmd.script, cmd.argv) cmd.script = nil + elseif cmd.func and kind == "call" then + local name = cmd.opt and cmd.opt.name or "unknown" + wprint("%s: batchcmds:call() is not supported by the project generator and will be ignored!", name) end end return buildcmds:cmds() |
