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