1
0
Fork 0
fgmeta/hudson_build_win_release.bat

21 lines
583 B
Batchfile
Raw Normal View History

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%
set PATH=%PATH%;C:\Program Files (x86)\NSIS;%WORKSPACE%\install\msvc90\OpenSceneGraph\bin
makensis flightgear-release.nsi