]> git.mxchange.org Git - flightgear.git/commitdiff
Add an FGCom icon from fgcomgui (under GPL)
authorClément de l'Hamaide <clemaez@hotmail.fr>
Thu, 31 Oct 2013 13:07:31 +0000 (14:07 +0100)
committerClément de l'Hamaide <clemaez@hotmail.fr>
Thu, 31 Oct 2013 13:07:31 +0000 (14:07 +0100)
package/Win-NSIS/flightgear-nightly-vs2010.nsi
utils/fgcom/CMakeLists.txt
utils/fgcom/fgcom.ico [new file with mode: 0644]
utils/fgcom/fgcom.rc [new file with mode: 0644]

index 24afbc65031a64dae8de2dbb77293cfebbc2efcf..30acd05810471f2ed664ab9b0bb03815fd17847a 100644 (file)
@@ -127,7 +127,7 @@ Section "" ;No components page, name is not important
   CreateDirectory "$SMPROGRAMS\FlightGear"
   CreateShortCut "$SMPROGRAMS\FlightGear\FlightGear-nightly-2010.lnk" "$INSTDIR\bin\fgrun.exe"
   CreateShortCut "$SMPROGRAMS\FlightGear\FGCom-nightly-2010.lnk" "$INSTDIR\bin\fgcom.exe"
-  CreateShortCut "$SMPROGRAMS\FlightGear\FGCom-testing-nightly-2010.lnk" "$INSTDIR\bin\fgcom.exe -f910"
+  CreateShortCut "$SMPROGRAMS\FlightGear\FGCom-testing-nightly-2010.lnk" "$INSTDIR\bin\fgcom.exe" "-f910"
   
   
   WriteUninstaller "$INSTDIR\bin\FlightGear_Uninstall.exe"
index f733e241193cc8594e34d27f2839fe80f2bb848f..090a88c2e3d43f6168fcbcd80c8009560da438d8 100644 (file)
@@ -2,6 +2,10 @@
     # set data installed location
     set(PKGDATAPATH "${CMAKE_INSTALL_PREFIX}/share/flightgear")
 
+    if (MSVC)
+      set( RESOURCE_FILE fgcom.rc )
+    endif (MSVC)
+
     # then to define the files themselves, in their 'installed' 
     # location, not their source location...
     if (NOT DEFAULT_POSITIONS_FILE)
diff --git a/utils/fgcom/fgcom.ico b/utils/fgcom/fgcom.ico
new file mode 100644 (file)
index 0000000..3db9f2e
Binary files /dev/null and b/utils/fgcom/fgcom.ico differ
diff --git a/utils/fgcom/fgcom.rc b/utils/fgcom/fgcom.rc
new file mode 100644 (file)
index 0000000..7b76923
--- /dev/null
@@ -0,0 +1 @@
+FGCOM              ICON                    "fgcom.ico"