- added a batchfile that updates from svn and builds mg on commandline for windows

This commit is contained in:
Mark Vejvoda 2010-11-15 23:58:29 +00:00
parent c2c9cc0044
commit 914649b647
1 changed files with 24 additions and 0 deletions

24
mk/windoze/build-mg.bat Normal file
View File

@ -0,0 +1,24 @@
@echo off
rem change to the directory of this batch file
ECHO --------------------------------
ECHO Changing to build folder [%~dp0]
cd /d "%~dp0"
rem setup the Visual Studio 2008 environment
ECHO --------------------------------
ECHO Setting up Visual Studio 2008 environment vars...
call "c:\Program Files\Microsoft Visual Studio 9.0\vc\vcvarsall.bat"
rem Update from SVN to latest rev
ECHO --------------------------------
Echo Updating Code from SVN to latest Revision...
svn update ..\..\
rem Build Mega-Glest in release mode
ECHO --------------------------------
Echo Building Mega-Glest...
msbuild Glest.sln /p:Configuration=Release
rem pause execution so we can see the output before the batch file exits
pause