mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-22 15:48:48 -05:00
added windows icon
This commit is contained in:
parent
a114f28006
commit
05d0eaf5fc
BIN
minetest-icon.ico
Normal file
BIN
minetest-icon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.4 KiB |
@ -128,6 +128,11 @@ set(common_SRCS
|
|||||||
base64.cpp
|
base64.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# This gives us the icon
|
||||||
|
if(WIN32 AND MSVC)
|
||||||
|
set(common_SRCS ${common_SRCS} winresource.rc)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Client sources
|
# Client sources
|
||||||
set(minetest_SRCS
|
set(minetest_SRCS
|
||||||
${common_SRCS}
|
${common_SRCS}
|
||||||
|
6
src/winresource.rc
Normal file
6
src/winresource.rc
Normal 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"
|
Loading…
Reference in New Issue
Block a user