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