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