mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
added windows icon
This commit is contained in:
parent
a114f28006
commit
05d0eaf5fc
3 changed files with 11 additions and 0 deletions
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
|
||||
)
|
||||
|
||||
# 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
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…
Add table
Add a link
Reference in a new issue