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