diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-04-16 19:21:14 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-04-16 19:21:14 +0200 |
commit | 3e4d8f433239c40311037616b1b8833a06651ae0 (patch) | |
tree | 98ab7fce0d011d34677b0beb762d389cb5c39199 /openvpn/msvc-dev.bat |
Initial import
Diffstat (limited to 'openvpn/msvc-dev.bat')
-rw-r--r-- | openvpn/msvc-dev.bat | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/openvpn/msvc-dev.bat b/openvpn/msvc-dev.bat new file mode 100644 index 00000000..4dac1720 --- /dev/null +++ b/openvpn/msvc-dev.bat @@ -0,0 +1,26 @@ +@echo off + +setlocal +cd %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 |