14e0592a0bc26be1aca9d3495c74f87faacc47b7
[occt.git] / samples / qt / IESample / run.bat
1 call "%~dp0..\..\..\env.bat" %1 %2 %3
2 call "%~dp0env.bat"
3
4 set "BIN_DIR=win%ARCH%\%VCVER%\bind"
5
6 IF ["%CASDEB%"] == [""] (
7   set "BIN_DIR=win%ARCH%\%VCVER%\bin"
8 )
9
10 if not exist "%~dp0%BIN_DIR%\IESample.exe" goto ERR_EXE
11
12 echo Starting IESample .....
13 "%~dp0%BIN_DIR%\IESample.exe"
14
15 goto END
16
17 :ERR_EXE
18 echo Executable %~dp0%BIN_DIR%\IESample.exe not found.
19 echo Probably you didn't compile the application.
20 pause
21 goto END
22
23 :END