Add windows icon;

This commit is contained in:
bjorn 2021-03-01 17:45:12 -07:00
parent 9a55769348
commit 1c3a01de2a
3 changed files with 2 additions and 0 deletions

View File

@ -553,6 +553,7 @@ endforeach()
# Platforms
if(WIN32)
target_sources(lovr PRIVATE src/core/os_win32.c)
target_sources(lovr PRIVATE src/resources/lovr.rc)
set_target_properties(lovr PROPERTIES COMPILE_FLAGS "/wd4244 /MP")
set_target_properties(lovr PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE")
set_target_properties(lovr PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")

BIN
src/resources/lovr.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

1
src/resources/lovr.rc Normal file
View File

@ -0,0 +1 @@
1 ICON lovr.ico