3 Setlocal EnableDelayedExpansion
9 if not ["%4"] == [""] (
11 call "%~dp0env.bat" %1 %2 %3
12 ) else if not ["%1"] == [""] (
19 if not exist "%~dp0%BIN_DIR%\IE_%SampleName%.exe" goto err_exe
21 "%~dp0%BIN_DIR%\IE_%SampleName%.exe"
26 echo Possible names of samples: WinForms, WPF_D3D, WPF_WinForms
27 echo Launch selected sample as follows:
28 echo %~n0.bat [^vc10^|^vc11^|^vc12^|^vc14^] [^win32^|^win64^] [^Release^|^Debug^] [^SampleName^]
30 echo %~n0.bat [^SampleName^]
31 echo Run %~n0.bat -h to get this help
35 echo Executable %~dp0%BIN_DIR%\IE_%SampleName%.exe not found.
36 echo Check that OCCT and sample are built with the selected configuration:
37 echo compiler=%VCVER% platform=win%ARCH% %3