From 914649b647a7e89198c09bf7957187f6164c2fd1 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Mon, 15 Nov 2010 23:58:29 +0000 Subject: [PATCH] - added a batchfile that updates from svn and builds mg on commandline for windows --- mk/windoze/build-mg.bat | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 mk/windoze/build-mg.bat diff --git a/mk/windoze/build-mg.bat b/mk/windoze/build-mg.bat new file mode 100644 index 00000000..44533c42 --- /dev/null +++ b/mk/windoze/build-mg.bat @@ -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 \ No newline at end of file