summaryrefslogtreecommitdiff
path: root/tests/projects/other/bin2c/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-08-05 00:35:38 +0800
committerruki <[email protected]>2021-08-05 00:35:38 +0800
commit376aaf2b9432b2da255c4aaabcbc8c84d2372c4c (patch)
treedfc6c82445dd54b18e0f664892af72001c7c5cc6 /tests/projects/other/bin2c/xmake.lua
parentb700ce5f896f1a3edfadafb4c188d1f147ea4ac7 (diff)
improve bin2c rule
Diffstat (limited to 'tests/projects/other/bin2c/xmake.lua')
-rw-r--r--tests/projects/other/bin2c/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/other/bin2c/xmake.lua b/tests/projects/other/bin2c/xmake.lua
index 4cd6f95ae..b5517a54e 100644
--- a/tests/projects/other/bin2c/xmake.lua
+++ b/tests/projects/other/bin2c/xmake.lua
@@ -2,8 +2,9 @@ add_rules("mode.debug", "mode.release")
target("test")
set_kind("binary")
+ add_rules("utils.bin2c", {linewidth = 16})
add_files("src/*.c")
add_files("src/*.bin")
- add_rules("utils.bin2c")
+ add_files("src/*.png", {rules = "utils.bin2c"})