Automatic update of EOLs
[occt.git] / samples / qt / Tutorial / Run_MSVC.bat
1 @echo off
2 rem Launch MS VC with environment prepared for building OCCT qt tutorial
3
4 rem Set build environment 
5
6 call %~dp0env.bat
7
8 call %~dp0..\..\..\ros\env_build.bat vc8 win32
9
10 rem Define path to project file
11 set PRJFILE=%~dp0Tutorial-vc8.sln
12
13 rem Launch Visual Studio - either professional (devenv) or Express, as available
14 if exist "%DevEnvDir%\devenv.exe"  (
15     start devenv.exe "%PRJFILE%" /useenv
16 ) else if exist "%DevEnvDir%\VCExpress.exe"  (
17     start VCExpress.exe "%PRJFILE%" /useenv
18 ) else (
19     echo Error: Could not find MS Visual Studio ^(%VCVER%^)
20     echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
21 )
22
23