diff options
| author | ruki <[email protected]> | 2026-07-18 18:37:41 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-07-18 18:37:41 +0800 |
| commit | 108eaa6d115e03f44bd1f105328dbe90a7747b30 (patch) | |
| tree | 8f98ca03c2355a6f4acc934e0924324e3dd4a73a /xmake/plugins/project/utils/target_cmds.lua | |
| parent | c4f4ad6aec62c15fdff13721716a577690e0db81 (diff) | |
| parent | c48de38142edcb99b47bf72b0b54fe025f112fdf (diff) | |
Merge pull request #7654 from xmake-io/bin2obj
Add transform support for bin2obj/bin2c
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() |
