0031568: Data Exchange - invalid model produced after STEP import
[occt.git] / samples / qt / FuncDemo / msvc.bat
CommitLineData
aff5997d 1@echo off
2
4b3541c6 3Setlocal EnableDelayedExpansion
4
aff5997d 5rem Setup environment
6call "%~dp0env.bat" %1 %2 %3
7
8rem Define path to project file
caee72a9 9set "PRJFILE=%~dp0FuncDemo.sln"
aff5997d 10
aff5997d 11rem Launch Visual Studio - either professional (devenv) or Express, as available
12if exist "%DevEnvDir%\devenv.exe" (
48691eaa 13 start "" "%DevEnvDir%\devenv.exe" "%PRJFILE%"
aff5997d 14) else if exist "%DevEnvDir%\%VisualStudioExpressName%.exe" (
48691eaa 15 start "" "%DevEnvDir%\%VisualStudioExpressName%.exe" "%PRJFILE%"
aff5997d 16) else (
17 echo Error: Could not find MS Visual Studio ^(%VCVER%^)
693c4bbe 18 echo Check relevant environment variable ^(e.g. VS100COMNTOOLS for vc10^)
aff5997d 19)