2 rem Launch MS VC with environment prepared for building OCCT qt tutorial
4 rem Set build environment
8 call %~dp0..\..\..\ros\env_build.bat vc8 win32
10 rem Define path to project file
11 set PRJFILE=%~dp0Tutorial-vc8.sln
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
19 echo Error: Could not find MS Visual Studio ^(%VCVER%^)
20 echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)