summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/rc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-21 17:53:30 +0800
committerruki <[email protected]>2022-08-21 17:53:30 +0800
commit5ad9e8f386b40a003e8279ab5b8199de2ac74136 (patch)
treedc2a601573c19f2d2e71ea455b8707d468520df5 /xmake/modules/core/tools/rc.lua
parentf5906175acbfd03a9b0c0e35b573a2780d5668e4 (diff)
add bitmap
Diffstat (limited to 'xmake/modules/core/tools/rc.lua')
-rw-r--r--xmake/modules/core/tools/rc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/rc.lua b/xmake/modules/core/tools/rc.lua
index 8755c3bc4..286cdd6da 100644
--- a/xmake/modules/core/tools/rc.lua
+++ b/xmake/modules/core/tools/rc.lua
@@ -45,6 +45,8 @@ function _parse_includefile(line)
elseif line:find("ICON", 1, true) and line:find(".ico") then
-- 101 ICON "xxx.ico"
return line:match("ICON%s+\"(.+.ico)\"")
+ elseif line:find("BITMAP", 1, true) and line:find(".bmp") then
+ return line:match("BITMAP%s+\"(.+.bmp)\"")
end
end