summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-16 17:52:28 +0800
committerGitHub <[email protected]>2021-11-16 17:52:28 +0800
commitb7cb5bb0c219bf4c8cdb7fffc40388c13de5e213 (patch)
treeeb646916edc284529243bb2e0dde91deb85b1d66
parentdce21455e0aead37e5115c820bc1f23f61b738eb (diff)
Update xmake.lua
-rw-r--r--xmake/rules/utils/bin2c/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/rules/utils/bin2c/xmake.lua b/xmake/rules/utils/bin2c/xmake.lua
index 81e042c41..03d27a534 100644
--- a/xmake/rules/utils/bin2c/xmake.lua
+++ b/xmake/rules/utils/bin2c/xmake.lua
@@ -32,6 +32,7 @@ rule("utils.bin2c")
-- get header file
local headerdir = path.join(target:autogendir(), "rules", "c++", "bin2c")
local headerfile = path.join(headerdir, path.filename(sourcefile_bin) .. ".h")
+ target:add("includedirs", headerdir)
-- add commands
batchcmds:show_progress(opt.progress, "${color.build.object}generating.bin2c %s", sourcefile_bin)