2012-02-29 21:12:12 +01:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
setlocal
|
2012-04-28 20:51:58 +02:00
|
|
|
cd /d %0\..
|
2012-02-29 21:12:12 +01:00
|
|
|
call msvc-env.bat
|
|
|
|
|
2012-03-24 08:58:36 +01:00
|
|
|
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
|
2018-09-28 15:26:49 +02:00
|
|
|
) else if exist "%VCHOME%\Auxiliary\Build\vcvars64.bat" (
|
|
|
|
call "%VCHOME%\Auxiliary\Build\vcvars64.bat"
|
2012-03-24 08:58:36 +01:00
|
|
|
) else (
|
|
|
|
echo "Cannot detect visual studio environment"
|
|
|
|
goto error
|
|
|
|
)
|
|
|
|
start "" "%IDE%" "%SOLUTION%"
|
|
|
|
|
|
|
|
exit /b 0
|
|
|
|
goto end
|
|
|
|
|
|
|
|
:error
|
|
|
|
exit /b 1
|
|
|
|
goto end
|
|
|
|
|
|
|
|
:end
|
2012-02-29 21:12:12 +01:00
|
|
|
|
|
|
|
endlocal
|