0027344: Configuration, CMake: bugs with detecting third-party products
[occt.git] / samples / qt / FuncDemo / run.bat
CommitLineData
4b3541c6 1Setlocal EnableDelayedExpansion
2
aff5997d 3call "%~dp0env.bat" %1 %2 %3
4
5set "BIN_DIR=win%ARCH%\%VCVER%\bind"
6if ["%CASDEB%"] == [""] (
7 set "BIN_DIR=win%ARCH%\%VCVER%\bin"
8)
9
10if not exist "%~dp0%BIN_DIR%\FuncDemo.exe" goto ERR_EXE
11
12echo Starting Demo .....
13"%~dp0%BIN_DIR%\FuncDemo.exe"
14
15goto END
16
17:ERR_EXE
18echo Executable %~dp0%BIN_DIR%\FuncDemo.exe not found.
19echo Probably you didn't compile the application.
20pause
21goto END
22
23:END