Enabled icon in Windows build.

This commit is contained in:
Muzychenko Andrey 2021-10-03 18:57:19 +03:00
parent 8d2745fc33
commit f1c6c48b36
2 changed files with 7 additions and 0 deletions

View File

@ -167,6 +167,12 @@ set(SOURCE_FILES
SpaceCadetPinball/imstb_truetype.h
)
# On Windows, include resource file with the icon
if(WIN32)
set_source_files_properties(SpaceCadetPinball/SpaceCadetPinball.rc LANGUAGE RC)
list(APPEND SOURCE_FILES SpaceCadetPinball/SpaceCadetPinball.rc)
endif(WIN32)
add_executable(SpaceCadetPinball ${SOURCE_FILES})
# Skip pch on foreign code

View File

@ -0,0 +1 @@
ICON_1 ICON "icon_1.ico"