mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
24 lines
460 B
Batchfile
24 lines
460 B
Batchfile
@echo off
|
|
|
|
if ["%4"] == [""] (
|
|
echo Launch selected sample as follows:
|
|
echo Run.bat [^vc8^|^vc9^|^vc10^|^vc11^] [^win32^|^win64^] [^Release^|^Debug^] [^SampleName^]
|
|
echo Use option -d to run Debug mode
|
|
exit /B
|
|
)
|
|
|
|
call "%~dp0env.bat" %1 %2 %3
|
|
|
|
if not exist "%~dp0%BIN_DIR%\%4.exe" goto err_exe
|
|
|
|
"%~dp0%BIN_DIR%\%4.exe"
|
|
|
|
goto eof
|
|
|
|
:err_exe
|
|
echo Executable %~dp0%BIN_DIR%\%4.exe not found.
|
|
echo Probably you didn't compile the application.
|
|
exit /B
|
|
|
|
:eof
|