2011-01-18 18:13:10 +08:00
|
|
|
call "D:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"
|
|
|
|
|
2011-01-20 00:49:20 +08:00
|
|
|
ECHO #define SIMGEAR_VERSION "2.2.0" > %WORKSPACE%\simgear\simgear\version.h
|
2011-01-18 18:13:10 +08:00
|
|
|
cd %WORKSPACE%\simgear\projects\VC90
|
|
|
|
msbuild SimGear.vcproj /p:Configuration=Release /m
|
|
|
|
|
|
|
|
REM FlightGear
|
|
|
|
|
|
|
|
cd %WORKSPACE%\flightgear
|
|
|
|
call scripts\tools\version.bat
|
|
|
|
SET HAVE_VERSION_H=1
|
|
|
|
cd %WORKSPACE%\flightgear\projects\VC90
|
|
|
|
msbuild FlightGear.sln /p:Configuration=Release /m
|
|
|
|
|
|
|
|
|
|
|
|
REM Installer
|
|
|
|
|
|
|
|
cd %WORKSPACE%
|
2011-01-20 00:49:20 +08:00
|
|
|
|
|
|
|
|
|
|
|
REM set PATH=%PATH%;C:\Program Files (x86)\NSIS;%WORKSPACE%\install\msvc90\OpenSceneGraph\bin
|
|
|
|
REM makensis flightgear-release.nsi
|