summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2017-06-02 22:41:13 +0800
committerruki <[email protected]>2017-06-02 22:41:13 +0800
commitdaa2475834699f070c838a54a826e075f6042287 (patch)
tree7393ba0c680993429fdc2e8e0a458b79df4749c7 /core/src
parent35f224c360fcab3a6d26d84d50e55af0af469968 (diff)
add icon to the windows installer and program
Diffstat (limited to 'core/src')
-rw-r--r--core/src/demo/xmake.lua5
-rw-r--r--core/src/demo/xmake.rc1
2 files changed, 6 insertions, 0 deletions
diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua
index 174b2fd38..db70a88b7 100644
--- a/core/src/demo/xmake.lua
+++ b/core/src/demo/xmake.lua
@@ -33,4 +33,9 @@ target("demo")
-- add the common source files
add_files("**.c")
+
+ -- add the resource files
+ if is_plat("windows") then
+ add_files("*.rc")
+ end
diff --git a/core/src/demo/xmake.rc b/core/src/demo/xmake.rc
new file mode 100644
index 000000000..9892b8a5f
--- /dev/null
+++ b/core/src/demo/xmake.rc
@@ -0,0 +1 @@
+IDI_APP ICON DISCARDABLE "../../../docs/favicon.ico"