summaryrefslogtreecommitdiff
path: root/tests/plugins
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-15 23:26:27 +0800
committerruki <[email protected]>2023-11-15 23:26:27 +0800
commita0abf455076e2fa5c0193ffe195907e19bea06dd (patch)
tree1f9abce40a237c34c70e4967b3d28841e5bd7981 /tests/plugins
parentbb1bb307911af6a45612b3ccc68a702b9e5702e7 (diff)
add icon to test
Diffstat (limited to 'tests/plugins')
-rw-r--r--tests/plugins/pack/src/xmake.rc1
-rw-r--r--tests/plugins/pack/xmake.lua3
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/plugins/pack/src/xmake.rc b/tests/plugins/pack/src/xmake.rc
new file mode 100644
index 000000000..3a2783607
--- /dev/null
+++ b/tests/plugins/pack/src/xmake.rc
@@ -0,0 +1 @@
+IDI_APP ICON DISCARDABLE "assets/xmake.ico"
diff --git a/tests/plugins/pack/xmake.lua b/tests/plugins/pack/xmake.lua
index b5f8a4e21..9238c956a 100644
--- a/tests/plugins/pack/xmake.lua
+++ b/tests/plugins/pack/xmake.lua
@@ -8,6 +8,9 @@ add_requires("zlib", {configs = {shared = true}})
target("test")
set_kind("binary")
add_files("src/*.cpp")
+ if is_plat("windows") then
+ add_files("src/*.rc")
+ end
target("foo")
set_kind("shared")