diff options
| author | ruki <[email protected]> | 2025-12-07 15:27:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-07 17:16:00 +0800 |
| commit | 35aeaac3f956f26f188ebab40c443b64d2cb2f95 (patch) | |
| tree | dab003800ba799760013cd98c1cb04ffb10565ac /xmake/rules | |
| parent | a88b0246d856ffac9dfa509d07631dc02fedbc67 (diff) | |
move bin2obj and bin2c modules
Diffstat (limited to 'xmake/rules')
| -rw-r--r-- | xmake/rules/utils/bin2c/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/rules/utils/bin2obj/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/rules/utils/glsl2spv/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/rules/utils/hlsl2spv/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/rules/xmake_cli/xmake.lua | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/xmake/rules/utils/bin2c/xmake.lua b/xmake/rules/utils/bin2c/xmake.lua index fc05ecf4e..7be711af1 100644 --- a/xmake/rules/utils/bin2c/xmake.lua +++ b/xmake/rules/utils/bin2c/xmake.lua @@ -54,7 +54,7 @@ rule("utils.bin2c") if nozeroend then table.insert(argv, "--nozeroend") end - batchcmds:vlua("private.utils.bin2c", argv) + batchcmds:vlua("utils.binary.bin2c", argv) -- add deps batchcmds:add_depfiles(sourcefile_bin) diff --git a/xmake/rules/utils/bin2obj/xmake.lua b/xmake/rules/utils/bin2obj/xmake.lua index d35e50606..69fd9e717 100644 --- a/xmake/rules/utils/bin2obj/xmake.lua +++ b/xmake/rules/utils/bin2obj/xmake.lua @@ -89,7 +89,7 @@ rule("utils.bin2obj") if zeroend then table.insert(argv, "--zeroend") end - batchcmds:vlua("private.utils.bin2obj", argv) + batchcmds:vlua("utils.binary.bin2obj", argv) -- add deps batchcmds:add_depfiles(sourcefile_bin) diff --git a/xmake/rules/utils/glsl2spv/xmake.lua b/xmake/rules/utils/glsl2spv/xmake.lua index dfd1779fe..a6c4a2aef 100644 --- a/xmake/rules/utils/glsl2spv/xmake.lua +++ b/xmake/rules/utils/glsl2spv/xmake.lua @@ -86,7 +86,7 @@ rule("utils.glsl2spv") -- add commands local argv = {"--nozeroend", "-i", path(spvfilepath), "-o", path(headerfile)} - batchcmds:vlua("private.utils.bin2c", argv) + batchcmds:vlua("utils.binary.bin2c", argv) end -- add deps diff --git a/xmake/rules/utils/hlsl2spv/xmake.lua b/xmake/rules/utils/hlsl2spv/xmake.lua index 2b285d893..4af520420 100644 --- a/xmake/rules/utils/hlsl2spv/xmake.lua +++ b/xmake/rules/utils/hlsl2spv/xmake.lua @@ -86,7 +86,7 @@ rule("utils.hlsl2spv") -- add commands local argv = {"--nozeroend", "-i", path(spvfilepath), "-o", path(headerfile)} - batchcmds:vlua("private.utils.bin2c", argv) + batchcmds:vlua("utils.binary.bin2c", argv) end batchcmds:add_depfiles(sourcefile_hlsl) diff --git a/xmake/rules/xmake_cli/xmake.lua b/xmake/rules/xmake_cli/xmake.lua index d3a4b6f26..7c543cb36 100644 --- a/xmake/rules/xmake_cli/xmake.lua +++ b/xmake/rules/xmake_cli/xmake.lua @@ -55,7 +55,7 @@ rule("xmake.cli") local headerfile = path.join(headerdir, "luafiles.xmz.h") target:add("includedirs", headerdir) argv = {"--nozeroend", "-i", path(archivefile), "-o", path(headerfile)} - batchcmds:vlua("private.utils.bin2c", argv) + batchcmds:vlua("utils.binary.bin2c", argv) batchcmds:add_depfiles(sourcefiles) batchcmds:set_depmtime(os.mtime(dependfile)) |
