Merge branch 'refs/heads/release/2.10.0' into next
This commit is contained in:
@@ -5,3 +5,9 @@ install
|
|||||||
boost_1_44_0
|
boost_1_44_0
|
||||||
InstallConfig.iss
|
InstallConfig.iss
|
||||||
Output
|
Output
|
||||||
|
output
|
||||||
|
fgBuild
|
||||||
|
sgBuild
|
||||||
|
image
|
||||||
|
macflightgear
|
||||||
|
fgdata
|
||||||
|
|||||||
+8
-2
@@ -1,6 +1,12 @@
|
|||||||
[submodule "simgear"]
|
[submodule "simgear"]
|
||||||
path = simgear
|
path = simgear
|
||||||
url = http://git.gitorious.org/fg/simgear.git
|
url = git://gitorious.org/fg/simgear.git
|
||||||
[submodule "flightgear"]
|
[submodule "flightgear"]
|
||||||
path = flightgear
|
path = flightgear
|
||||||
url = http://git.gitorious.org/fg/flightgear.git
|
url = git://gitorious.org/fg/flightgear.git
|
||||||
|
[submodule "fgrun"]
|
||||||
|
path = fgrun
|
||||||
|
url = git://gitorious.org/fg/fgrun.git
|
||||||
|
[submodule "maclauncher"]
|
||||||
|
path = maclauncher
|
||||||
|
url = git://gitorious.org/fg/maclauncher.git
|
||||||
|
|||||||
+116
-57
@@ -21,16 +21,16 @@
|
|||||||
#include "InstallConfig.iss"
|
#include "InstallConfig.iss"
|
||||||
|
|
||||||
#if GetEnv("VSINSTALLDIR") == ""
|
#if GetEnv("VSINSTALLDIR") == ""
|
||||||
#define VSInstallDir "C:\Program Files\Microsoft Visual Studio 9.0"
|
#define VSInstallDir "C:\Program Files (x86)\Microsoft Visual Studio 10.0"
|
||||||
#else
|
#else
|
||||||
#define VSInstallDir GetEnv("VSINSTALLDIR")
|
#define VSInstallDir GetEnv("VSINSTALLDIR")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define VCInstallDir VSInstallDir + "\VC"
|
#define VCInstallDir VSInstallDir + "\VC"
|
||||||
#define OSGInstallDir "X:\install\msvc90\OpenSceneGraph"
|
#define OSGInstallDir "X:\install\msvc100\OpenSceneGraph"
|
||||||
#define OSGPluginsDir OSGInstallDir + "\bin\osgPlugins-" + OSGVersion
|
#define OSGPluginsDir OSGInstallDir + "\bin\osgPlugins-" + OSGVersion
|
||||||
|
|
||||||
#define OSG64InstallDir "X:\install\msvc90-64\OpenSceneGraph"
|
#define OSG64InstallDir "X:\install\msvc100-64\OpenSceneGraph"
|
||||||
#define OSG64PluginsDir OSG64InstallDir + "\bin\osgPlugins-" + OSGVersion
|
#define OSG64PluginsDir OSG64InstallDir + "\bin\osgPlugins-" + OSGVersion
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
@@ -46,79 +46,129 @@ DefaultDirName={pf}\FlightGear
|
|||||||
DefaultGroupName=FlightGear {#FGVersion}
|
DefaultGroupName=FlightGear {#FGVersion}
|
||||||
LicenseFile=X:\flightgear\COPYING
|
LicenseFile=X:\flightgear\COPYING
|
||||||
Uninstallable=yes
|
Uninstallable=yes
|
||||||
SetupIconFile=X:\flightgear\projects\VC90\flightgear.ico
|
SetupIconFile=X:\flightgear\package\flightgear.ico
|
||||||
VersionInfoVersion={#FGVersion}.0
|
VersionInfoVersion={#FGVersion}.0
|
||||||
WizardImageFile=X:\flightgear\package\Win32-Inno\setupimg.bmp
|
WizardImageFile=X:\flightgear\package\Win32-Inno\setupimg.bmp
|
||||||
WizardImageStretch=No
|
WizardImageStretch=No
|
||||||
WizardSmallImageFile=X:\flightgear\package\Win32-Inno\setupsmall.bmp
|
WizardSmallImageFile=X:\flightgear\package\Win32-Inno\setupsmall.bmp
|
||||||
VersionInfoCompany=The FlightGear Team
|
VersionInfoCompany=The FlightGear Team
|
||||||
UninstallDisplayIcon=X:\flightgear\projects\VC90\flightgear.ico
|
UninstallDisplayIcon=X:\flightgear\projects\VC90\flightgear.ico
|
||||||
|
ArchitecturesInstallIn64BitMode=x64
|
||||||
|
ArchitecturesAllowed=x86 x64
|
||||||
|
|
||||||
[Tasks]
|
[Tasks]
|
||||||
; NOTE: The following entry contains English phrases ("Create a desktop icon" and "Additional icons"). You are free to translate them into another language if required.
|
; NOTE: The following entry contains English phrases ("Create a desktop icon" and "Additional icons"). You are free to translate them into another language if required.
|
||||||
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"
|
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"
|
||||||
|
Name: "insoal"; Description: "Install OpenAL (the sound engine)"
|
||||||
|
Name: "force32"; Description: "Force 32bit install on 64bit system"; Check: Is64BitInstallMode
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
; NOTE: run subst X: F:\ (or whatever path the expanded tree resides at)
|
; NOTE: run subst X: F:\ (or whatever path the expanded tree resides at)
|
||||||
;Source: "X:\*.txt"; DestDir: "{app}"; Flags: ignoreversion
|
;Source: "X:\*.txt"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
Source: "X:\flightgear\projects\VC90\Win32\Release\*.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion
|
Source: "X:\install\msvc100\FlightGear\bin\fgfs.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "X:\flightgear\projects\VC90\x64\Release\*.exe"; DestDir: "{app}\bin\Win64"; Flags: ignoreversion skipifsourcedoesntexist
|
Source: "X:\install\msvc100-64\FlightGear\bin\fgfs.exe"; DestDir: "{app}\bin\Win64"; Flags: ignoreversion skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
|
||||||
Source: "X:\fgrun\msvc\9.0\Win32\Release\fgrun.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion
|
|
||||||
Source: "X:\fgrun\msvc\9.0\Win32\Release\locale\*"; DestDir: "{app}\bin\Win32\locale"; Flags: ignoreversion recursesubdirs
|
|
||||||
|
|
||||||
Source: "X:\fgrun\msvc\9.0\x64\Release\fgrun.exe"; DestDir: "{app}\bin\Win64"; Flags: ignoreversion
|
|
||||||
Source: "X:\fgrun\msvc\9.0\Win32\Release\locale\*"; DestDir: "{app}\bin\Win64\locale"; Flags: ignoreversion recursesubdirs
|
|
||||||
|
|
||||||
|
;Unconditional install
|
||||||
|
Source: "X:\install\msvc100\FlightGear\bin\fgadmin.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion
|
||||||
|
Source: "X:\install\msvc100\FlightGear\bin\terrasync.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion
|
||||||
|
Source: "X:\install\msvc100\FlightGear\bin\js_demo.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion
|
||||||
|
Source: "X:\install\msvc100\FlightGear\bin\fgjs.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion
|
||||||
|
Source: "X:\install\msvc100\FlightGear\bin\fgpanel.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion
|
||||||
|
Source: "X:\install\msvc100\FlightGear\bin\GPSsmooth.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion
|
||||||
|
Source: "X:\install\msvc100\FlightGear\bin\UGsmooth.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion
|
||||||
|
Source: "X:\install\msvc100\FlightGear\bin\MIDGsmooth.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion
|
||||||
|
Source: "X:\install\msvc100\FlightGear\bin\metar.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion
|
||||||
|
Source: "X:\install\msvc100\FlightGear\bin\yasim.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion
|
||||||
Source: "X:\3rdParty\bin\*.dll"; DestDir: "{app}\bin\Win32"
|
Source: "X:\3rdParty\bin\*.dll"; DestDir: "{app}\bin\Win32"
|
||||||
Source: "X:\3rdParty.x64\bin\*.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode
|
|
||||||
|
|
||||||
Source: "{#VCInstallDir}\redist\x86\Microsoft.VC90.CRT\*.dll"; DestDir: "{app}\bin\Win32"
|
Source: "X:\install\msvc100\FGRun\bin\fgrun.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion ; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#VCInstallDir}\redist\x64\Microsoft.VC90.CRT\*.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode
|
Source: "X:\install\msvc100\FGRun\share\locale\*"; DestDir: "{app}\bin\Win32\locale"; Flags: ignoreversion recursesubdirs; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
|
||||||
|
Source: "X:\install\msvc100-64\FGRun\bin\fgrun.exe"; DestDir: "{app}\bin\Win64"; Flags: ignoreversion skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "X:\install\msvc100-64\FGRun\share\locale\*"; DestDir: "{app}\bin\Win64\locale"; Flags: ignoreversion recursesubdirs skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
|
||||||
|
Source: "X:\3rdParty.x64\bin\*.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
|
||||||
|
Source: "{#VCInstallDir}\redist\x86\Microsoft.VC100.CRT\*.dll"; DestDir: "{app}\bin\Win32"
|
||||||
|
Source: "{#VCInstallDir}\redist\x64\Microsoft.VC100.CRT\*.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "X:\3rdParty\bin\vcredist_x86.exe"; DestDir: "{app}\bin\Win32"; Flags: skipifsourcedoesntexist
|
||||||
|
Source: "X:\3rdParty.x64\bin\vcredist_x64.exe"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
|
||||||
|
Source: "X:\3rdParty\bin\oalinst.exe"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion skipifsourcedoesntexist
|
||||||
|
|
||||||
Source: "X:\data\*.*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs skipifsourcedoesntexist
|
Source: "X:\data\*.*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs skipifsourcedoesntexist
|
||||||
|
|
||||||
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osg.dll"; DestDir: "{app}\bin\Win32"
|
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osg.dll"; DestDir: "{app}\bin\Win32"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgDB.dll"; DestDir: "{app}\bin\Win32"
|
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgDB.dll"; DestDir: "{app}\bin\Win32"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgGA.dll"; DestDir: "{app}\bin\Win32"
|
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgGA.dll"; DestDir: "{app}\bin\Win32"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgParticle.dll"; DestDir: "{app}\bin\Win32"
|
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgParticle.dll"; DestDir: "{app}\bin\Win32"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgText.dll"; DestDir: "{app}\bin\Win32"
|
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgText.dll"; DestDir: "{app}\bin\Win32"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgUtil.dll"; DestDir: "{app}\bin\Win32"
|
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgUtil.dll"; DestDir: "{app}\bin\Win32"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgViewer.dll"; DestDir: "{app}\bin\Win32"
|
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgViewer.dll"; DestDir: "{app}\bin\Win32"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgSim.dll"; DestDir: "{app}\bin\Win32"
|
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgSim.dll"; DestDir: "{app}\bin\Win32"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgFX.dll"; DestDir: "{app}\bin\Win32"
|
Source: "{#OSGInstallDir}\bin\osg{#OSGSoNumber}-osgFX.dll"; DestDir: "{app}\bin\Win32"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
|
||||||
Source: "{#OSGInstallDir}\bin\ot12-OpenThreads.dll"; DestDir: "{app}\bin\Win32"
|
Source: "{#OSGInstallDir}\bin\ot12-OpenThreads.dll"; DestDir: "{app}\bin\Win32"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
|
||||||
Source: "{#OSGPluginsDir}\osgdb_ac.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"
|
Source: "{#OSGPluginsDir}\osgdb_ac.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGPluginsDir}\osgdb_osg.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"
|
Source: "{#OSGPluginsDir}\osgdb_osg.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGPluginsDir}\osgdb_3ds.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"
|
Source: "{#OSGPluginsDir}\osgdb_osga.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGPluginsDir}\osgdb_mdl.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"
|
Source: "{#OSGPluginsDir}\osgdb_3ds.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGPluginsDir}\osgdb_jpeg.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"
|
Source: "{#OSGPluginsDir}\osgdb_mdl.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGPluginsDir}\osgdb_rgb.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"
|
Source: "{#OSGPluginsDir}\osgdb_jpeg.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGPluginsDir}\osgdb_png.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"
|
Source: "{#OSGPluginsDir}\osgdb_rgb.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
Source: "{#OSGPluginsDir}\osgdb_txf.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"
|
Source: "{#OSGPluginsDir}\osgdb_png.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_dds.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_txf.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_freetype.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_serializers_osg.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_serializers_osganimation.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_serializers_osgfx.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_serializers_osgmanipulator.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_serializers_osgparticle.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_serializers_osgshadow.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_serializers_osgsim.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_serializers_osgterrain.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_serializers_osgtext.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_serializers_osgvolume.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_deprecated_osg.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Source: "{#OSGPluginsDir}\osgdb_deprecated_osgparticle.dll"; DestDir: "{app}\bin\Win32\osgPlugins-{#OSGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
|
||||||
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osg.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osg.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgDB.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgDB.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgGA.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgGA.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgParticle.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgParticle.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgText.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgText.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgUtil.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgUtil.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgViewer.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgViewer.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgSim.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgSim.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgFX.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64InstallDir}\bin\osg{#OSGSoNumber}-osgFX.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
|
||||||
Source: "{#OSG64InstallDir}\bin\ot12-OpenThreads.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64InstallDir}\bin\ot12-OpenThreads.dll"; DestDir: "{app}\bin\Win64"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
|
||||||
Source: "{#OSG64PluginsDir}\osgdb_ac.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64PluginsDir}\osgdb_ac.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64PluginsDir}\osgdb_osg.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64PluginsDir}\osgdb_osg.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64PluginsDir}\osgdb_3ds.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64PluginsDir}\osgdb_osga.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64PluginsDir}\osgdb_mdl.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64PluginsDir}\osgdb_3ds.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64PluginsDir}\osgdb_jpeg.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64PluginsDir}\osgdb_mdl.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64PluginsDir}\osgdb_rgb.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64PluginsDir}\osgdb_jpeg.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64PluginsDir}\osgdb_png.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64PluginsDir}\osgdb_rgb.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
Source: "{#OSG64PluginsDir}\osgdb_txf.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist
|
Source: "{#OSG64PluginsDir}\osgdb_png.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_dds.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_txf.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_freetype.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_serializers_osg.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_serializers_osganimation.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_serializers_osgfx.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_serializers_osgmanipulator.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_serializers_osgparticle.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_serializers_osgshadow.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_serializers_osgsim.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_serializers_osgterrain.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_serializers_osgtext.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_serializers_osgvolume.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_deprecated_osg.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
Source: "{#OSG64PluginsDir}\osgdb_deprecated_osgparticle.dll"; DestDir: "{app}\bin\Win64\osgPlugins-{#OSGVersion}"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
|
||||||
[Dirs]
|
[Dirs]
|
||||||
; Make the user installable scenery directory
|
; Make the user installable scenery directory
|
||||||
@@ -126,24 +176,27 @@ Name: "{app}\scenery"; Permissions: everyone-modify
|
|||||||
Name: "{code:TerrasyncDir}"; Permissions: everyone-modify
|
Name: "{code:TerrasyncDir}"; Permissions: everyone-modify
|
||||||
|
|
||||||
[Icons]
|
[Icons]
|
||||||
Name: "{group}\FlightGear Launcher"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}";
|
Name: "{group}\FlightGear Launcher"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Name: "{group}\FlightGear Launcher"; Filename: "{app}\bin\Win64\fgrun.exe"; WorkingDir: "{app}"; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
; Name: "{group}\FlightGear"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}";
|
; Name: "{group}\FlightGear"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}";
|
||||||
Name: "{group}\FlightGear Manual"; Filename: "{app}\data\Docs\getstart.pdf"
|
Name: "{group}\FlightGear Manual"; Filename: "{app}\data\Docs\getstart.pdf"
|
||||||
Name: "{group}\FlightGear Documentation"; Filename: "{app}\data\Docs\index.html"
|
Name: "{group}\FlightGear Documentation"; Filename: "{app}\data\Docs\index.html"
|
||||||
Name: "{group}\Flightgear Wiki"; Filename: "http://wiki.flightgear.org"
|
Name: "{group}\Flightgear Wiki"; Filename: "http://wiki.flightgear.org"
|
||||||
Name: "{userdesktop}\FlightGear {#FGVersion}"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon
|
Name: "{userdesktop}\FlightGear {#FGVersion}"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
Name: "{userdesktop}\FlightGear {#FGVersion}"; Filename: "{app}\bin\Win64\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
|
||||||
Name: "{group}\Tools\Install & Uninstall Scenery"; Filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}";
|
Name: "{group}\Tools\Install & Uninstall Scenery"; Filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}"
|
||||||
Name: "{group}\Tools\TerraSync"; Filename: "{app}\bin\Win32\terrasync.exe"; Parameters: "-S -p 5505 -d ""{app}\terrasync"""; WorkingDir: "{app}";
|
Name: "{group}\Tools\TerraSync"; Filename: "{app}\bin\Win32\terrasync.exe"; Parameters: "-S -p 5505 -d ""{app}\terrasync"""; WorkingDir: "{app}"
|
||||||
Name: "{group}\Tools\Uninstall FlightGear"; Filename: "{uninstallexe}"
|
Name: "{group}\Tools\Uninstall FlightGear"; Filename: "{uninstallexe}"
|
||||||
|
|
||||||
Name: "{group}\Tools\js_demo"; Filename: "{app}\bin\Win32\js_demo.exe"
|
Name: "{group}\Tools\js_demo"; Filename: "{app}\bin\Win32\js_demo.exe"
|
||||||
Name: "{group}\Tools\fgjs"; Filename: "cmd"; Parameters: "/k fgjs.exe ""--fg-root={app}\data"""; WorkingDir: "{app}\bin\Win32";
|
Name: "{group}\Tools\fgjs"; Filename: "cmd"; Parameters: "/k fgjs.exe ""--fg-root={app}\data"""; WorkingDir: "{app}\bin\Win32";
|
||||||
Name: "{group}\Tools\GPSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\GPSsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
Name: "{group}\Tools\GPSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\GPSsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
||||||
Name: "{group}\Tools\UGsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\UGsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
Name: "{group}\Tools\UGsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\UGsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
||||||
Name: "{group}\Tools\MIDSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\MIDSsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
Name: "{group}\Tools\MIDGsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\MIDGsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
||||||
Name: "{group}\Tools\metar"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\metar.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
Name: "{group}\Tools\metar"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\metar.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
||||||
Name: "{group}\Tools\yasim"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\yasim.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
Name: "{group}\Tools\yasim"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\yasim.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
||||||
|
Name: "{group}\Tools\fgpanel"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\fgpanel.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
||||||
|
|
||||||
Name: "{group}\Tools\Explore Documentation Folder"; Filename: "{app}\data\Docs"
|
Name: "{group}\Tools\Explore Documentation Folder"; Filename: "{app}\data\Docs"
|
||||||
|
|
||||||
@@ -151,9 +204,15 @@ Name: "{group}\Tools\Explore Documentation Folder"; Filename: "{app}\data\Docs"
|
|||||||
; Name: "{userdesktop}\FlightGear v2.0.0"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Tasks: desktopicon
|
; Name: "{userdesktop}\FlightGear v2.0.0"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Tasks: desktopicon
|
||||||
|
|
||||||
[Run]
|
[Run]
|
||||||
|
filename: "cmd.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "/C del msvc*.dll"; Check: FileExists(ExpandConstant('{app}\bin\Win32\vcredist_x86.exe'))
|
||||||
|
filename: "cmd.exe"; WorkingDir: "{app}\bin\Win64"; Parameters: "/C del msvc*.dll"; Check: FileExists(ExpandConstant('{app}\bin\Win64\vcredist_x64.exe'))
|
||||||
|
filename: "{app}\bin\Win32\vcredist_x86.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "/passive /norestart"; Description: "Installing MS Visual C++ runtime components"; Check: FileExists(ExpandConstant('{app}\bin\Win32\vcredist_x86.exe'))
|
||||||
|
filename: "{app}\bin\Win64\vcredist_x64.exe"; WorkingDir: "{app}\bin\Win64"; Parameters: "/passive /norestart"; Description: "Installing MS Visual C++ runtime components"; Check: Is64BitInstallMode and not IsTaskSelected('force32') and FileExists(ExpandConstant('{app}\bin\Win64\vcredist_x64.exe'))
|
||||||
|
filename: "{app}\bin\Win32\oalinst.exe"; WorkingDir: "{app}\bin\Win32"; Description: "Installing OpenAL"; Check: IsTaskSelected('insoal') and FileExists(ExpandConstant('{app}\bin\Win32\oalinst.exe'))
|
||||||
|
|
||||||
; Put installation directory into the fgrun.prefs
|
; Put installation directory into the fgrun.prefs
|
||||||
filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--fg-exe={app}\bin\Win32\fgfs.exe"" ""--ts-exe={app}\bin\Win32\terrasync.exe"" ""--fg-root={app}\data"" ""--fg-scenery={app}\data\Scenery;{app}\scenery;{code:TerrasyncDir}"" --ts-dir=3"
|
filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--fg-exe={app}\bin\Win32\fgfs.exe"" ""--ts-exe={app}\bin\Win32\terrasync.exe"" ""--fg-root={app}\data"" ""--fg-scenery={app}\data\Scenery;{app}\scenery;{code:TerrasyncDir}"" --ts-dir=3 --version={#FGVersion}"; Check: not Is64BitInstallMode or IsTaskSelected('force32')
|
||||||
|
filename: "{app}\bin\Win64\fgrun.exe"; WorkingDir: "{app}\bin\Win64"; Parameters: "--silent ""--fg-exe={app}\bin\Win64\fgfs.exe"" ""--ts-exe={app}\bin\Win32\terrasync.exe"" ""--fg-root={app}\data"" ""--fg-scenery={app}\data\Scenery;{app}\scenery;{code:TerrasyncDir}"" --ts-dir=3 --version={#FGVersion}"; Check: Is64BitInstallMode and not IsTaskSelected('force32')
|
||||||
|
|
||||||
; Put installation and source directories into the fgadmin.prefs
|
; Put installation and source directories into the fgadmin.prefs
|
||||||
filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--install-source={src}\..\Scenery"" ""--scenery-dest={app}\scenery"""
|
filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--install-source={src}\..\Scenery"" ""--scenery-dest={app}\scenery"""
|
||||||
|
|||||||
+6
-2
@@ -2,12 +2,14 @@
|
|||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
<string>FlightGear.icns</string>
|
<string>FlightGear.icns</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleGetInfoString</key>
|
<key>CFBundleGetInfoString</key>
|
||||||
<string>FlightGear nightly build</string>
|
<string>FlightGear, the open-source flight simulator, <%= fgVersion %>. ©1996-<%= fgCurrentYear%>, The FlightGear Project</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
@@ -19,11 +21,13 @@
|
|||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string><%= fgVersion %></string>
|
<string><%= fgVersion %></string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>10.5.0</string>
|
<string>10.6.0</string>
|
||||||
<key>NSMainNibFile</key>
|
<key>NSMainNibFile</key>
|
||||||
<string>MainMenu</string>
|
<string>MainMenu</string>
|
||||||
<key>NSPrincipalClass</key>
|
<key>NSPrincipalClass</key>
|
||||||
<string>NSApplication</string>
|
<string>NSApplication</string>
|
||||||
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
<string>©1996-<%= fgCurrentYear%>, The FlightGear Project</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
- .git
|
||||||
|
- *.xcf
|
||||||
|
- *.tex
|
||||||
|
|
||||||
|
+ /fgdata/Aircraft/Generic
|
||||||
|
+ /fgdata/Aircraft/Instruments
|
||||||
|
+ /fgdata/Aircraft/Instruments-3d
|
||||||
|
|
||||||
|
+ /fgdata/Aircraft/UIUC
|
||||||
|
+ /fgdata/Aircraft/c172p
|
||||||
|
+ /fgdata/Aircraft/777
|
||||||
|
+ /fgdata/Aircraft/777-200
|
||||||
|
+ /fgdata/Aircraft/b1900d
|
||||||
|
+ /fgdata/Aircraft/ufo
|
||||||
|
+ /fgdata/Aircraft/CitationX
|
||||||
|
+ /fgdata/Aircraft/ZLT-NT
|
||||||
|
+ /fgdata/Aircraft/dhc2
|
||||||
|
+ /fgdata/Aircraft/Cub
|
||||||
|
+ /fgdata/Aircraft/sopwithCamel
|
||||||
|
+ /fgdata/Aircraft/f-14b
|
||||||
|
+ /fgdata/Aircraft/ASK13
|
||||||
|
+ /fgdata/Aircraft/bo105
|
||||||
|
+ /fgdata/Aircraft/Dragonfly
|
||||||
|
+ /fgdata/Aircraft/SenecaII
|
||||||
|
+ /fgdata/Aircraft/A6M2
|
||||||
|
|
||||||
|
- /fgdata/Aircraft/*
|
||||||
|
|
||||||
|
- /fgdata/Textures.high/*.new
|
||||||
|
- /fgdata/Textures.high/*.orig
|
||||||
|
- /fgdata/Textures.high/*.save
|
||||||
|
- /fgdata/Textures/Unused
|
||||||
|
- /fgdata/Textures/*.orig
|
||||||
|
- /fgdata/Docs/source
|
||||||
|
- /fgdata/Models/Airspace
|
||||||
|
- /fgdata/Models/MNUAV
|
||||||
|
|
||||||
|
|
||||||
Executable → Regular
+563
-145
File diff suppressed because it is too large
Load Diff
Submodule
+1
Submodule fgrun added at 90e936c01e
+1
-1
Submodule flightgear updated: 53e8fbfcbb...38ca30cbd5
+46
-8
@@ -1,9 +1,28 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cd simgear
|
if [ "$WORKSPACE" == "" ]; then
|
||||||
./autogen.sh
|
echo "ERROR: Missing WORKSPACE environment variable."
|
||||||
./configure --prefix=$WORKSPACE/dist --with-osg=$WORKSPACE/dist
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
VERSION=`cat flightgear/version`
|
||||||
|
|
||||||
|
#####################################################################################
|
||||||
|
# remove old and create fresh build directories
|
||||||
|
rm -rf sgBuild
|
||||||
|
rm -rf fgBuild
|
||||||
|
mkdir -p sgBuild
|
||||||
|
mkdir -p fgBuild
|
||||||
|
mkdir -p output
|
||||||
|
rm -rf output/*
|
||||||
|
rm -rf $WORKSPACE/dist/include/simgear $WORKSPACE/dist/libSim* $WORKSPACE/dist/libsg*.a
|
||||||
|
|
||||||
|
#####################################################################################
|
||||||
|
echo "Starting on SimGear"
|
||||||
|
cd sgBuild
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DSIMGEAR_SHARED:BOOL="ON" ../simgear
|
||||||
|
|
||||||
|
# compile
|
||||||
make
|
make
|
||||||
|
|
||||||
if [ $? -ne '0' ]; then
|
if [ $? -ne '0' ]; then
|
||||||
@@ -12,13 +31,17 @@ if [ $? -ne '0' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
make install
|
make install
|
||||||
make dist
|
|
||||||
|
|
||||||
|
# build source package and copy to output
|
||||||
|
make package_source
|
||||||
|
cp simgear-*.tar.bz2 ../output/.
|
||||||
|
|
||||||
|
#####################################################################################
|
||||||
echo "Starting on FlightGear"
|
echo "Starting on FlightGear"
|
||||||
|
cd ../fgBuild
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DSIMGEAR_SHARED:BOOL="ON" ../flightgear
|
||||||
|
|
||||||
cd ../flightgear
|
# compile
|
||||||
./autogen.sh
|
|
||||||
./configure --prefix=$WORKSPACE/dist --with-osg=$WORKSPACE/dist
|
|
||||||
make
|
make
|
||||||
|
|
||||||
if [ $? -ne '0' ]; then
|
if [ $? -ne '0' ]; then
|
||||||
@@ -27,4 +50,19 @@ if [ $? -ne '0' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
make install
|
make install
|
||||||
make dist
|
|
||||||
|
# build source package and copy to output
|
||||||
|
make package_source
|
||||||
|
cp flightgear-*.tar.bz2 ../output/.
|
||||||
|
|
||||||
|
#####################################################################################
|
||||||
|
|
||||||
|
echo "Assembling base package"
|
||||||
|
cd $WORKSPACE
|
||||||
|
|
||||||
|
echo "Syncing base packages files from sphere.telascience.org"
|
||||||
|
rsync -avz --filter 'merge base-package.rules' \
|
||||||
|
-e ssh jturner@sphere.telascience.org:/home/jturner/fgdata .
|
||||||
|
|
||||||
|
tar cjf output/FlightGear-$VERSION-data.tar.bz fgdata/
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
SDK_PATH="/Developer/SDKs/MacOSX10.6.sdk"
|
|
||||||
OSX_TARGET="10.6"
|
|
||||||
|
|
||||||
svn co https://macflightgear.svn.sourceforge.net/svnroot/macflightgear/trunk/FlightGearOSX macflightgear
|
|
||||||
|
|
||||||
pushd macflightgear
|
|
||||||
|
|
||||||
# compile the stub executable
|
|
||||||
gcc -o FlightGear -mmacosx-version-min=$OSX_TARGET -isysroot $SDK_PATH -arch i386 main.m \
|
|
||||||
-framework Cocoa -framework RubyCocoa -framework Foundation -framework AppKit
|
|
||||||
|
|
||||||
popd
|
|
||||||
|
|
||||||
Executable
+77
@@ -0,0 +1,77 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ "$WORKSPACE" == "" ]; then
|
||||||
|
echo "ERROR: Missing WORKSPACE environment variable."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# remove old and create fresh build directories
|
||||||
|
rm -rf sgBuild
|
||||||
|
rm -rf fgBuild
|
||||||
|
mkdir -p sgBuild
|
||||||
|
mkdir -p fgBuild
|
||||||
|
mkdir -p output
|
||||||
|
rm -rf output/*
|
||||||
|
rm -rf $WORKSPACE/dist/include/simgear $WORKSPACE/dist/libSim* $WORKSPACE/dist/libsg*.a
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
echo "Starting on SimGear"
|
||||||
|
pushd sgBuild
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -G Xcode ../simgear
|
||||||
|
|
||||||
|
# compile
|
||||||
|
xcodebuild -configuration RelWithDebInfo -target install build
|
||||||
|
|
||||||
|
if [ $? -ne '0' ]; then
|
||||||
|
echo "make simgear failed"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
echo "Starting on FlightGear"
|
||||||
|
pushd fgBuild
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -G Xcode ../flightgear
|
||||||
|
|
||||||
|
xcodebuild -configuration RelWithDebInfo -target install build
|
||||||
|
|
||||||
|
if [ $? -ne '0' ]; then
|
||||||
|
echo "make flightgear failed"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
||||||
|
chmod +x $WORKSPACE/dist/bin/osgversion
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
echo "Building Macflightgear launcher"
|
||||||
|
|
||||||
|
#OSX_TARGET="10.6"
|
||||||
|
# JMT - disabling setting the sysroot since it's breaking things on
|
||||||
|
# current build slave. Sinc ethe slave runs 10.6 natively, we don't
|
||||||
|
# actually need to set these. Real solution would be to use a proper
|
||||||
|
# build system for the Mac-launcher of course.
|
||||||
|
# -mmacosx-version-min=$OSX_TARGET -isysroot $SDK_PATH
|
||||||
|
|
||||||
|
pushd maclauncher/FlightGearOSX
|
||||||
|
|
||||||
|
# compile the stub executable
|
||||||
|
gcc -o FlightGear main.m \
|
||||||
|
-framework Cocoa -framework RubyCocoa -framework Foundation -framework AppKit
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
echo "Syncing base packages files from sphere.telascience.org"
|
||||||
|
rsync -avz --filter 'merge base-package.rules' \
|
||||||
|
-e ssh jturner@sphere.telascience.org:/home/jturner/fgdata .
|
||||||
|
|
||||||
|
# run the unlock script now - we need to do this right before code-signing,
|
||||||
|
# or the keychain may automatically re-lock after some period of time
|
||||||
|
unlock-keychain.sh
|
||||||
|
|
||||||
|
echo "Running package script"
|
||||||
|
./hudson_mac_package_release.rb
|
||||||
@@ -1,9 +1,11 @@
|
|||||||
#!/usr/bin/ruby
|
#!/usr/bin/ruby
|
||||||
|
|
||||||
require 'ERB'
|
require 'ERB'
|
||||||
|
require 'fileutils' #I know, no underscore is not ruby-like
|
||||||
|
include FileUtils
|
||||||
|
|
||||||
$osgLibs = ['osgFX', 'osgParticle', 'osg', 'osgGA', 'osgText', 'osgUtil', 'osgSim', 'osgViewer', 'osgDB']
|
$osgLibs = ['osgFX', 'osgParticle', 'osg', 'osgGA', 'osgText', 'osgUtil', 'osgSim', 'osgViewer', 'osgDB']
|
||||||
$osgPlugins = ['ac', 'osg', 'freetype', 'qt', 'imageio', 'rgb', 'txf', 'mdl', '3ds']
|
$osgPlugins = ['ac', 'osg', 'freetype', 'imageio', 'rgb', 'txf', 'mdl', '3ds']
|
||||||
|
|
||||||
def runOsgVersion(option)
|
def runOsgVersion(option)
|
||||||
env = "export DYLD_LIBRARY_PATH=#{Dir.pwd}/dist/lib"
|
env = "export DYLD_LIBRARY_PATH=#{Dir.pwd}/dist/lib"
|
||||||
@@ -15,9 +17,14 @@ osgVersion = runOsgVersion('version-number')
|
|||||||
$osgSoVersion=runOsgVersion('so-number')
|
$osgSoVersion=runOsgVersion('so-number')
|
||||||
$openThreadsSoVersion=runOsgVersion('openthreads-soversion-number')
|
$openThreadsSoVersion=runOsgVersion('openthreads-soversion-number')
|
||||||
|
|
||||||
|
$codeSignIdentity = ENV['FG_CODESIGN_IDENTITY']
|
||||||
|
puts "Code signing identity is #{$codeSignIdentity}"
|
||||||
|
|
||||||
puts "osgVersion=#{osgVersion}, so-number=#{$osgSoVersion}"
|
puts "osgVersion=#{osgVersion}, so-number=#{$osgSoVersion}"
|
||||||
|
|
||||||
$alutSourcePath='/Library/Frameworks/ALUT.framework'
|
$svnLibs = ['svn_client', 'svn_wc', 'svn_delta', 'svn_diff', 'svn_ra',
|
||||||
|
'svn_ra_local', 'svn_repos', 'svn_fs', 'svn_fs_fs', 'svn_fs_util',
|
||||||
|
'svn_ra_svn', 'svn_subr', 'svn_ra_neon']
|
||||||
|
|
||||||
def fix_install_names(object)
|
def fix_install_names(object)
|
||||||
#puts "fixing install names for #{object}"
|
#puts "fixing install names for #{object}"
|
||||||
@@ -31,16 +38,36 @@ def fix_install_names(object)
|
|||||||
oldName = "libOpenThreads.#{$openThreadsSoVersion}.dylib"
|
oldName = "libOpenThreads.#{$openThreadsSoVersion}.dylib"
|
||||||
newName= "@executable_path/../Frameworks/#{oldName}"
|
newName= "@executable_path/../Frameworks/#{oldName}"
|
||||||
`install_name_tool -change #{oldName} #{newName} #{object}`
|
`install_name_tool -change #{oldName} #{newName} #{object}`
|
||||||
|
|
||||||
alutBundlePath = "@executable_path/../Frameworks/Alut.framework"
|
|
||||||
alutLib = "Versions/A/ALUT"
|
|
||||||
`install_name_tool -change #{$alutSourcePath}/#{alutLib} #{alutBundlePath}/#{alutLib} #{object}`
|
|
||||||
end
|
end
|
||||||
|
|
||||||
prefixDir=Dir.pwd + "/dist"
|
$prefixDir=Dir.pwd + "/dist"
|
||||||
dmgDir=Dir.pwd + "/image"
|
dmgDir=Dir.pwd + "/image"
|
||||||
srcDir=Dir.pwd + "/flightgear"
|
srcDir=Dir.pwd + "/flightgear"
|
||||||
|
|
||||||
|
def fix_svn_install_names(object)
|
||||||
|
$svnLibs.each do |l|
|
||||||
|
fileName = "lib#{l}-1.0.dylib"
|
||||||
|
newName = "@executable_path/../Frameworks/#{fileName}"
|
||||||
|
`install_name_tool -change #{fileName} #{newName} #{object}`
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
def copy_svn_libs()
|
||||||
|
puts "Copying Subversion client libraries"
|
||||||
|
$svnLibs.each do |l|
|
||||||
|
libFile = "lib#{l}-1.0.dylib"
|
||||||
|
path = "#{$frameworksDir}/#{libFile}"
|
||||||
|
`cp #{$prefixDir}/lib/#{libFile} #{$frameworksDir}`
|
||||||
|
fix_svn_install_names(path)
|
||||||
|
# `install_name_tool -id #{libFile} #{path}`
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
def code_sign(path)
|
||||||
|
puts "Signing #{path}"
|
||||||
|
`codesign -s "#{$codeSignIdentity}" #{path}`
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
puts "Erasing previous image dir"
|
puts "Erasing previous image dir"
|
||||||
`rm -rf #{dmgDir}`
|
`rm -rf #{dmgDir}`
|
||||||
@@ -48,56 +75,68 @@ puts "Erasing previous image dir"
|
|||||||
bundle=dmgDir + "/FlightGear.app"
|
bundle=dmgDir + "/FlightGear.app"
|
||||||
contents=bundle + "/Contents"
|
contents=bundle + "/Contents"
|
||||||
macosDir=contents + "/MacOS"
|
macosDir=contents + "/MacOS"
|
||||||
frameworksDir=contents +"/Frameworks"
|
$frameworksDir=contents +"/Frameworks"
|
||||||
resourcesDir=contents+"/Resources"
|
resourcesDir=contents+"/Resources"
|
||||||
osgPluginsDir=contents+"/PlugIns/osgPlugins-#{osgVersion}"
|
osgPluginsDir=contents+"/PlugIns/osgPlugins-#{osgVersion}"
|
||||||
|
|
||||||
|
# for writing copyright year to Info.plist
|
||||||
|
t = Time.new
|
||||||
|
fgCurrentYear = t.year
|
||||||
|
|
||||||
fgVersion = File.read("#{srcDir}/version").strip
|
fgVersion = File.read("#{srcDir}/version").strip
|
||||||
volName="\"FlightGear #{fgVersion}\""
|
volName="\"FlightGear #{fgVersion}\""
|
||||||
|
|
||||||
dmgPath = Dir.pwd + "/fg_mac_#{fgVersion}.dmg"
|
dmgPath = Dir.pwd + "/output/FlightGear-#{fgVersion}.dmg"
|
||||||
|
|
||||||
puts "Creating directory structure"
|
puts "Creating directory structure"
|
||||||
`mkdir -p #{macosDir}`
|
`mkdir -p #{macosDir}`
|
||||||
`mkdir -p #{frameworksDir}`
|
`mkdir -p #{$frameworksDir}`
|
||||||
`mkdir -p #{resourcesDir}`
|
`mkdir -p #{resourcesDir}`
|
||||||
`mkdir -p #{osgPluginsDir}`
|
`mkdir -p #{osgPluginsDir}`
|
||||||
|
|
||||||
puts "Copying binaries"
|
puts "Copying binaries"
|
||||||
bins = ['fgfs', 'terrasync']
|
bins = ['fgfs', 'fgjs', 'fgcom', 'fgviewer']
|
||||||
bins.each do |b|
|
bins.each do |b|
|
||||||
`cp #{prefixDir}/bin/#{b} #{resourcesDir}/#{b}`
|
if !File.exist?("#{$prefixDir}/bin/#{b}")
|
||||||
fix_install_names("#{resourcesDir}/#{b}")
|
next
|
||||||
|
end
|
||||||
|
|
||||||
|
outPath = "#{macosDir}/#{b}"
|
||||||
|
`cp #{$prefixDir}/bin/#{b} #{outPath}`
|
||||||
|
fix_install_names(outPath)
|
||||||
|
fix_svn_install_names(outPath)
|
||||||
end
|
end
|
||||||
|
|
||||||
puts "copying libraries"
|
puts "copying libraries"
|
||||||
$osgLibs.each do |l|
|
$osgLibs.each do |l|
|
||||||
libFile = "lib#{l}.#{$osgSoVersion}.dylib"
|
libFile = "lib#{l}.#{$osgSoVersion}.dylib"
|
||||||
`cp #{prefixDir}/lib/#{libFile} #{frameworksDir}`
|
`cp #{$prefixDir}/lib/#{libFile} #{$frameworksDir}`
|
||||||
fix_install_names("#{frameworksDir}/#{libFile}")
|
fix_install_names("#{$frameworksDir}/#{libFile}")
|
||||||
end
|
end
|
||||||
|
|
||||||
# and not forgetting OpenThreads
|
# and not forgetting OpenThreads
|
||||||
libFile = "libOpenThreads.#{$openThreadsSoVersion}.dylib"
|
libFile = "libOpenThreads.#{$openThreadsSoVersion}.dylib"
|
||||||
`cp #{prefixDir}/lib/#{libFile} #{frameworksDir}`
|
`cp #{$prefixDir}/lib/#{libFile} #{$frameworksDir}`
|
||||||
|
|
||||||
$osgPlugins.each do |p|
|
$osgPlugins.each do |p|
|
||||||
pluginFile = "osgdb_#{p}.so"
|
pluginFile = "osgdb_#{p}.so"
|
||||||
`cp #{prefixDir}/lib/osgPlugins-#{osgVersion}/#{pluginFile} #{osgPluginsDir}`
|
`cp #{$prefixDir}/lib/osgPlugins-#{osgVersion}/#{pluginFile} #{osgPluginsDir}`
|
||||||
fix_install_names("#{osgPluginsDir}/#{pluginFile}")
|
fix_install_names("#{osgPluginsDir}/#{pluginFile}")
|
||||||
end
|
end
|
||||||
|
|
||||||
# custom ALUT
|
copy_svn_libs()
|
||||||
# must copy frameworks using ditto
|
|
||||||
`ditto #{$alutSourcePath} #{frameworksDir}/ALUT.framework`
|
|
||||||
|
|
||||||
# Macflightgear launcher
|
# Macflightgear launcher
|
||||||
puts "Copying Macflightgear launcher files"
|
puts "Copying Macflightgear launcher files"
|
||||||
|
|
||||||
Dir.chdir "macflightgear" do
|
Dir.chdir "maclauncher/FlightGearOSX" do
|
||||||
`cp FlightGear #{macosDir}`
|
`cp FlightGear #{macosDir}`
|
||||||
`rsync -a --exclude=\".svn\" *.rb *.lproj *.sh *.tiff #{resourcesDir}`
|
`rsync -a *.rb *.lproj *.sh *.tiff *.html #{resourcesDir}`
|
||||||
|
end
|
||||||
|
|
||||||
|
if File.exist?("#{$prefixDir}/bin/fgcom-data")
|
||||||
|
puts "Copying FGCom data files"
|
||||||
|
`ditto #{$prefixDir}/bin/fgcom-data #{resourcesDir}/fgcom-data`
|
||||||
end
|
end
|
||||||
|
|
||||||
# Info.plist
|
# Info.plist
|
||||||
@@ -111,6 +150,22 @@ File.open("#{contents}/Info.plist", 'w') { |f|
|
|||||||
`cp #{srcDir}/package/mac/FlightGear.icns #{resourcesDir}/FlightGear.icns`
|
`cp #{srcDir}/package/mac/FlightGear.icns #{resourcesDir}/FlightGear.icns`
|
||||||
`cp #{srcDir}/COPYING #{dmgDir}`
|
`cp #{srcDir}/COPYING #{dmgDir}`
|
||||||
|
|
||||||
|
# move documentation to a public place
|
||||||
|
`mv fgdata/Docs/FGShortRef.pdf "#{dmgDir}/Quick Reference.pdf"`
|
||||||
|
`mv fgdata/Docs/getstart.pdf "#{dmgDir}/Getting Started.pdf"`
|
||||||
|
|
||||||
|
puts "Copying base package files into the image"
|
||||||
|
`rsync -a fgdata/ #{resourcesDir}/data`
|
||||||
|
|
||||||
|
# code sign all executables in MacOS dir. Do this last since reource
|
||||||
|
# changes will invalidate the signature!
|
||||||
|
Dir.foreach(macosDir) do |b|
|
||||||
|
if b == '.' or b == '..' then
|
||||||
|
next
|
||||||
|
end
|
||||||
|
code_sign("#{macosDir}/#{b}")
|
||||||
|
end
|
||||||
|
|
||||||
puts "Creating DMG"
|
puts "Creating DMG"
|
||||||
|
|
||||||
createArgs = "-format UDBZ -imagekey bzip2-level=9 -quiet -volname #{volName}"
|
createArgs = "-format UDBZ -imagekey bzip2-level=9 -quiet -volname #{volName}"
|
||||||
|
|||||||
+17
-5
@@ -3,8 +3,20 @@ IF NOT DEFINED WORKSPACE SET WORKSPACE=%~dp0
|
|||||||
SET /P SIMGEAR_VERSION=<%WORKSPACE%\simgear\version
|
SET /P SIMGEAR_VERSION=<%WORKSPACE%\simgear\version
|
||||||
ECHO #define SIMGEAR_VERSION "%SIMGEAR_VERSION%" > %WORKSPACE%\simgear\simgear\version.h
|
ECHO #define SIMGEAR_VERSION "%SIMGEAR_VERSION%" > %WORKSPACE%\simgear\simgear\version.h
|
||||||
|
|
||||||
cd %WORKSPACE%\flightgear
|
rem set PATH=%PATH%;D:\Program Files (x86)\CMake 2.8\bin
|
||||||
call scripts\tools\version.bat
|
rem call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat"
|
||||||
SET HAVE_VERSION_H=1
|
|
||||||
cd %WORKSPACE%\flightgear\projects\VC90
|
md build-sg
|
||||||
msbuild FlightGear.sln /p:Configuration=Release /m
|
md build-fg
|
||||||
|
md build-fgrun
|
||||||
|
cd build-sg
|
||||||
|
cmake ..\simgear -G "Visual Studio 10" -DMSVC_3RDPARTY_ROOT=%WORKSPACE% -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100/SimGear -DBOOST_ROOT=%WORKSPACE%/Boost
|
||||||
|
cmake --build . --config Release --target INSTALL
|
||||||
|
|
||||||
|
cd ..\build-fg
|
||||||
|
cmake ..\flightgear -G "Visual Studio 10" -DMSVC_3RDPARTY_ROOT=%WORKSPACE% -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100/FlightGear -DFLTK_FLUID_EXECUTABLE=%WORKSPACE%/3rdParty/bin/fluid.exe -DBOOST_ROOT=%WORKSPACE%/Boost
|
||||||
|
cmake --build . --config Release --target INSTALL
|
||||||
|
|
||||||
|
cd ..\build-fgrun
|
||||||
|
cmake ..\fgrun -G "Visual Studio 10" -DMSVC_3RDPARTY_ROOT:PATH=%WORKSPACE% -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100/FGRun -DFLTK_FLUID_EXECUTABLE:FILEPATH=%WORKSPACE%/3rdParty/bin/fluid.exe -DGETTEXT_MSGFMT_EXECUTABLE:FILEPATH=%WORKSPACE%/3rdParty/bin/msgfmt.exe -DGETTEXT_MSGMERGE_EXECUTABLE:FILEPATH=%WORKSPACE%/3rdParty/bin/msgmerge.exe -DBOOST_ROOT=%WORKSPACE%/Boost
|
||||||
|
cmake --build . --config Release --target INSTALL
|
||||||
|
|||||||
+18
-5
@@ -1,11 +1,24 @@
|
|||||||
IF NOT DEFINED WORKSPACE SET WORKSPACE=%~dp0
|
IF NOT DEFINED WORKSPACE SET WORKSPACE=%~dp0
|
||||||
|
|
||||||
|
|
||||||
SET /P SIMGEAR_VERSION=<%WORKSPACE%\simgear\version
|
SET /P SIMGEAR_VERSION=<%WORKSPACE%\simgear\version
|
||||||
ECHO #define SIMGEAR_VERSION "%SIMGEAR_VERSION%" > %WORKSPACE%\simgear\simgear\version.h
|
ECHO #define SIMGEAR_VERSION "%SIMGEAR_VERSION%" > %WORKSPACE%\simgear\simgear\version.h
|
||||||
|
|
||||||
cd %WORKSPACE%\flightgear
|
rem ECHO #define SIMGEAR_VERSION "2.9.0" > %WORKSPACE%\simgear\simgear\version.h
|
||||||
call scripts\tools\version.bat
|
rem set PATH=%PATH%;D:\Program Files (x86)\CMake 2.8\bin
|
||||||
SET HAVE_VERSION_H=1
|
rem call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" amd64
|
||||||
cd %WORKSPACE%\flightgear\projects\VC90
|
|
||||||
msbuild FlightGear.sln /p:Configuration=Release /p:Platform=x64
|
|
||||||
|
|
||||||
|
md build-sg64
|
||||||
|
md build-fg64
|
||||||
|
md build-fgrun64
|
||||||
|
cd build-sg64
|
||||||
|
cmake ..\SimGear -G "Visual Studio 10 Win64" -DMSVC_3RDPARTY_ROOT=%WORKSPACE% -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100-64/SimGear -DBOOST_ROOT=%WORKSPACE%/Boost
|
||||||
|
cmake --build . --config Release --target INSTALL
|
||||||
|
|
||||||
|
cd ..\build-fg64
|
||||||
|
cmake ..\flightgear -G "Visual Studio 10 Win64" -DMSVC_3RDPARTY_ROOT=%WORKSPACE% -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100-64/FlightGear -DFLTK_FLUID_EXECUTABLE=%WORKSPACE%/3rdParty/bin/fluid.exe -DBOOST_ROOT=%WORKSPACE%/Boost -DWITH_FGPANEL=OFF -DENABLE_PROFILE=OFF
|
||||||
|
cmake --build . --config Release --target INSTALL
|
||||||
|
|
||||||
|
cd ..\build-fgrun64
|
||||||
|
cmake ..\fgrun -G "Visual Studio 10 Win64" -DMSVC_3RDPARTY_ROOT:PATH=%WORKSPACE% -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100-64/FGRun -DFLTK_FLUID_EXECUTABLE:FILEPATH=%WORKSPACE%/3rdParty/bin/fluid.exe -DGETTEXT_MSGFMT_EXECUTABLE:FILEPATH=%WORKSPACE%/3rdParty/bin/msgfmt.exe -DGETTEXT_MSGMERGE_EXECUTABLE:FILEPATH=%WORKSPACE%/3rdParty/bin/msgmerge.exe -DBOOST_ROOT=%WORKSPACE%/Boost
|
||||||
|
cmake --build . --config Release --target INSTALL
|
||||||
|
|||||||
@@ -4,12 +4,12 @@ IF NOT DEFINED WORKSPACE SET WORKSPACE=%~dp0
|
|||||||
ECHO Packaging root is %WORKSPACE%
|
ECHO Packaging root is %WORKSPACE%
|
||||||
|
|
||||||
subst X: /D
|
subst X: /D
|
||||||
subst X: %WORKSPACE%
|
subst X: %WORKSPACE%.
|
||||||
|
|
||||||
REM construct information file to be read by Inno-setup
|
REM construct information file to be read by Inno-setup
|
||||||
|
|
||||||
|
|
||||||
set PATH=%WORKSPACE%\install\msvc90\OpenSceneGraph\bin;%PATH%
|
set PATH=%WORKSPACE%\install\msvc100\OpenSceneGraph\bin;%PATH%
|
||||||
REM indirect way to get command output into an environment variable
|
REM indirect way to get command output into an environment variable
|
||||||
osgversion --so-number > %TEMP%\osg-so-number.txt
|
osgversion --so-number > %TEMP%\osg-so-number.txt
|
||||||
osgversion --version-number > %TEMP%\osg-version.txt
|
osgversion --version-number > %TEMP%\osg-version.txt
|
||||||
|
|||||||
Submodule
+1
Submodule maclauncher added at 7e6406f35c
+1
-1
Submodule simgear updated: e988dc0e42...1784327c47
Reference in New Issue
Block a user