File: msvc-dev.bat

package info (click to toggle)
openvpn 2.3.4-5%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 7,696 kB
  • ctags: 7,034
  • sloc: ansic: 62,206; sh: 12,587; makefile: 362; perl: 66
file content (26 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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