1
0
Fork 0

Cmake: set an icon to the Windows executable

This commit is contained in:
Frederic Bouvier 2011-01-28 19:30:27 +01:00
parent 2317b3bf05
commit 0807cf3ae6
4 changed files with 7 additions and 0 deletions

1
src/Main/.gitignore vendored
View file

@ -2,3 +2,4 @@ fgfs
metar
runfgfs
runfgfs.bat
flightgear.aps

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

1
src/Main/flightgear.rc Normal file
View file

@ -0,0 +1 @@
FLIGHTGEAR ICON "flightgear.ico"