mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-11-23 17:53:49 +08:00
6d2b65ad32
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Acked-by: Samuli Seppänen <samuli@openvpn.net> Message-Id: 1335639118-16671-1-git-send-email-alon.barlev@gmail.com URL: http://article.gmane.org/gmane.network.openvpn.devel/6383 Signed-off-by: David Sommerseth <davids@redhat.com>
27 lines
400 B
Batchfile
27 lines
400 B
Batchfile
@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
|