1
0
Fork 0

added windows icon

mutilcraft-mt53
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"