Cmake: set an icon to the Windows executable
This commit is contained in:
parent
2317b3bf05
commit
0807cf3ae6
4 changed files with 7 additions and 0 deletions
1
src/Main/.gitignore
vendored
1
src/Main/.gitignore
vendored
|
@ -2,3 +2,4 @@ fgfs
|
|||
metar
|
||||
runfgfs
|
||||
runfgfs.bat
|
||||
flightgear.aps
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
|
||||
if (MSVC)
|
||||
set( RESOURCE_FILE flightgear.rc )
|
||||
endif (MSVC)
|
||||
|
||||
set(SOURCES
|
||||
CameraGroup.cxx
|
||||
FGEventHandler.cxx
|
||||
|
@ -21,6 +25,7 @@ set(SOURCES
|
|||
util.cxx
|
||||
viewer.cxx
|
||||
viewmgr.cxx
|
||||
${RESOURCE_FILE}
|
||||
)
|
||||
|
||||
add_executable(fgfs ${SOURCES})
|
||||
|
|
BIN
src/Main/flightgear.ico
Normal file
BIN
src/Main/flightgear.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
1
src/Main/flightgear.rc
Normal file
1
src/Main/flightgear.rc
Normal file
|
@ -0,0 +1 @@
|
|||
FLIGHTGEAR ICON "flightgear.ico"
|
Loading…
Add table
Reference in a new issue