diff options
author | Parménides GV <parmegv@sdf.org> | 2014-08-18 18:22:54 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-08-18 18:22:54 +0200 |
commit | 31f6eab32a26a658cbfb2db0d457cc1f87d23f0f (patch) | |
tree | 75f372ff22a94102ef2f9bd163febf54ac45e9d6 /ics-openvpn-stripped/main/openvpn/msvc-dev.bat | |
parent | 6057466bc8b4475bf4564b9143c60753c90f9aaa (diff) | |
parent | 7d8cde4f7ae769a3b6a25483d8bd0bb6c1551af9 (diff) |
Merge branch 'develop'
Diffstat (limited to 'ics-openvpn-stripped/main/openvpn/msvc-dev.bat')
-rw-r--r-- | ics-openvpn-stripped/main/openvpn/msvc-dev.bat | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ics-openvpn-stripped/main/openvpn/msvc-dev.bat b/ics-openvpn-stripped/main/openvpn/msvc-dev.bat new file mode 100644 index 00000000..dbd7be07 --- /dev/null +++ b/ics-openvpn-stripped/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 |