Update for VS installed by default
[occt.git] / samples / qt / Tutorial / Run_MSVC.bat
CommitLineData
7fd59977 1@echo off
2rem Launch MS VC with environment prepared for building OCCT qt tutorial
3
4rem Set build environment
5
6call %~dp0env.bat
7
8call %~dp0..\..\..\ros\env_build.bat vc8 win32
9
10rem Define path to project file
11set PRJFILE=%~dp0Tutorial.sln
12
13rem Launch Visual Studio - either professional (devenv) or Express, as available
18473fc8 14if exist "%DevEnvDir%\devenv.exe" (
15 start devenv.exe "%PRJFILE%" /useenv
16) else if exist "%DevEnvDir%\VCExpress.exe" (
17 start VCExpress.exe "%PRJFILE%" /useenv
7fd59977 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
18473fc8 23