From 0f5101034ca23a7cf9089dc1ff56419260b087ce Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 14 Jan 2011 07:23:55 +0000 Subject: [PATCH] - updated VC++ script to work more generically before looking for specific 32 / 64 bit paths --- mk/windoze/build-mg.bat | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mk/windoze/build-mg.bat b/mk/windoze/build-mg.bat index 0c3fcade..bb9169fc 100644 --- a/mk/windoze/build-mg.bat +++ b/mk/windoze/build-mg.bat @@ -15,10 +15,15 @@ GOTO SVNSECTION :SETVCVARS +IF EXIST "%VS90COMNTOOLS%..\..\" GOTO VC_Common IF EXIST "\Program Files\Microsoft Visual Studio 9.0\" GOTO VC_32 IF EXIST "\Program Files (x86)\Microsoft Visual Studio 9.0\" GOTO VC_64 goto SVNSECTION +:VC_Common +call "%VS90COMNTOOLS%..\..\vc\vcvarsall.bat" +goto SVNSECTION + :VC_32 ECHO 32 bit Windows detected... call "\Program Files\Microsoft Visual Studio 9.0\vc\vcvarsall.bat"