mirror of
https://github.com/iAmInActions/SpaceCadetPinballPPC.git
synced 2024-11-22 03:55:21 +00:00
Enabled icon in Windows build.
This commit is contained in:
parent
8d2745fc33
commit
f1c6c48b36
@ -167,6 +167,12 @@ set(SOURCE_FILES
|
|||||||
SpaceCadetPinball/imstb_truetype.h
|
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})
|
add_executable(SpaceCadetPinball ${SOURCE_FILES})
|
||||||
|
|
||||||
# Skip pch on foreign code
|
# Skip pch on foreign code
|
||||||
|
1
SpaceCadetPinball/SpaceCadetPinball.rc
Normal file
1
SpaceCadetPinball/SpaceCadetPinball.rc
Normal file
@ -0,0 +1 @@
|
|||||||
|
ICON_1 ICON "icon_1.ico"
|
Loading…
Reference in New Issue
Block a user