diff options
Diffstat (limited to 'main/openvpn/msvc-dev.bat')
| -rw-r--r-- | main/openvpn/msvc-dev.bat | 26 | 
1 files changed, 26 insertions, 0 deletions
| diff --git a/main/openvpn/msvc-dev.bat b/main/openvpn/msvc-dev.bat new file mode 100644 index 00000000..dbd7be07 --- /dev/null +++ b/main/openvpn/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 | 
