mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
[ion/simulator/windows] Add an icon
This commit is contained in:
@@ -22,11 +22,14 @@ endif
|
||||
|
||||
# RC file dependencies
|
||||
$(call object_for,ion/src/simulator/windows/resources.rc): WRFLAGS += -I $(BUILD_DIR)
|
||||
$(call object_for,ion/src/simulator/windows/resources.rc): $(addprefix $(BUILD_DIR)/,logo.ico)
|
||||
|
||||
# The header of images is refered to as <ion/src/simulator/windows/resources.h> so make sure it's findable this way
|
||||
SFLAGS += -I$(BUILD_DIR)
|
||||
$(addprefix $(BUILD_DIR)/,logo.ico): ion/src/simulator/assets/logo.svg | $$(@D)/.
|
||||
$(call rule_label,CONVERT)
|
||||
$(Q) convert -background "#FFB734" -resize 256x256 $< $@
|
||||
|
||||
LDFLAGS += -lgdiplus
|
||||
# Linker flags
|
||||
LDFLAGS += -lgdiplus -lcomdlg32
|
||||
|
||||
$(eval $(call rule_for, \
|
||||
RESGEN, \
|
||||
@@ -38,4 +41,3 @@ $(eval $(call rule_for, \
|
||||
|
||||
$(call object_for,ion/src/simulator/windows/platform_images.cpp): $(BUILD_DIR)/ion/src/simulator/windows/images.h
|
||||
$(call object_for,ion/src/simulator/windows/resources.rc): $(BUILD_DIR)/ion/src/simulator/windows/resources_gen.rc
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <ion/src/simulator/windows/resources_gen.rc>
|
||||
400 ICON "logo.ico"
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION 1,0,0,0
|
||||
|
||||
Reference in New Issue
Block a user