From 8dd0350e1607aa30f7a043c8d5ec7a7eeb874115 Mon Sep 17 00:00:00 2001 From: Alberto Gonzalez Iniesta Date: Mon, 5 Nov 2012 16:28:09 +0100 Subject: Imported Upstream version 2.3_rc1 --- msvc-dev.bat | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 msvc-dev.bat (limited to 'msvc-dev.bat') diff --git a/msvc-dev.bat b/msvc-dev.bat new file mode 100644 index 0000000..dbd7be0 --- /dev/null +++ b/msvc-dev.bat @@ -0,0 +1,26 @@ +@echo off + +setlocal +cd /d %0\.. +call msvc-env.bat + +if exist "%VSHOME%\Common7\IDE\VCExpress.exe" ( + set IDE=%VSHOME%\Common7\IDE\VCExpress.exe +) else if exist "%VSHOME%\Common7\IDE\devenv.exe" ( + set IDE=%VSHOME%\Common7\IDE\devenv.exe +) else ( + echo "Cannot detect visual studio environment" + goto error +) +start "" "%IDE%" "%SOLUTION%" + +exit /b 0 +goto end + +:error +exit /b 1 +goto end + +:end + +endlocal -- cgit v1.2.3