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