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