2011-01-18 10:13:10 +00:00
|
|
|
call "D:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"
|
|
|
|
|
|
|
|
ECHO #define SIMGEAR_VERSION "2.2.0" > %WORKSPACE%\simgear\version.h
|
|
|
|
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-18 11:50:46 +00:00
|
|
|
set PATH=%PATH%;C:\Program Files (x86)\NSIS;%WORKSPACE%\install\msvc90\OpenSceneGraph\bin
|
|
|
|
makensis flightgear-release.nsi
|