0027253: Boolean cut produces invalid result shape
[occt.git] / samples / qt / Tutorial / msvc.bat
CommitLineData
b3b55601 1@echo off
2
3rem Setup environment
63fb818e 4call "%~dp0env.bat" %1 %2 %3
aea58b16 5
b3b55601 6rem Define path to project file
7set "PRJFILE=%~dp0Tutorial-%VCVER%.sln"
8
9set "VisualStudioExpressName=VCExpress"
10
11if "%VCVER%" == "vc8" (
12 set "DevEnvDir=%VS80COMNTOOLS%..\IDE"
13) else if "%VCVER%" == "vc9" (
14 set "DevEnvDir=%VS90COMNTOOLS%..\IDE"
15) else if "%VCVER%" == "vc10" (
16 set "DevEnvDir=%VS100COMNTOOLS%..\IDE"
17) else if "%VCVER%" == "vc11" (
18 set "DevEnvDir=%VS110COMNTOOLS%..\IDE"
19 rem Visual Studio Express starting from VS 2012 is called "for Windows Desktop"
20 rem and has a new name for executable - WDExpress
21 set "VisualStudioExpressName=WDExpress"
22) else if "%VCVER%" == "vc12" (
23 set "DevEnvDir=%VS120COMNTOOLS%..\IDE"
24 set "VisualStudioExpressName=WDExpress"
25) else (
26 echo Error: wrong VS identifier
27 exit /B
28)
29
30rem Launch Visual Studio - either professional (devenv) or Express, as available
31if exist "%DevEnvDir%\devenv.exe" (
32 start "%DevEnvDir%\devenv.exe" "%PRJFILE%"
33) else if exist "%DevEnvDir%\%VisualStudioExpressName%.exe" (
34 start "%DevEnvDir%\%VisualStudioExpressName%.exe" "%PRJFILE%"
aea58b16 35) else (
b3b55601 36 echo Error: Could not find MS Visual Studio ^(%VCVER%^)
37 echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
38)