1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-22 07:38:48 -05:00

added windows icon

This commit is contained in:
Perttu Ahola 2011-07-31 00:39:43 +03:00
parent a114f28006
commit 05d0eaf5fc
3 changed files with 11 additions and 0 deletions

BIN
minetest-icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -128,6 +128,11 @@ set(common_SRCS
base64.cpp
)
# This gives us the icon
if(WIN32 AND MSVC)
set(common_SRCS ${common_SRCS} winresource.rc)
endif()
# Client sources
set(minetest_SRCS
${common_SRCS}

6
src/winresource.rc Normal file
View File

@ -0,0 +1,6 @@
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
LANGUAGE 0, SUBLANG_NEUTRAL
130 ICON "..\\minetest-icon.ico"
//131 BITMAP "..\\minetest-icon.bmp"