0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / samples / CSharp / run.bat
CommitLineData
f4264b5a 1@echo off
2
4b3541c6 3Setlocal EnableDelayedExpansion
4
f4264b5a 5if "%1" == "-h" (
6 goto err_bat
7)
8
9if not ["%4"] == [""] (
10 set "SampleName=%4"
11 call "%~dp0env.bat" %1 %2 %3
12) else if not ["%1"] == [""] (
13 set "SampleName=%1"
14 call "%~dp0env.bat"
15) else (
16 goto err_bat
17)
18
19if not exist "%~dp0%BIN_DIR%\IE_%SampleName%.exe" goto err_exe
20
21"%~dp0%BIN_DIR%\IE_%SampleName%.exe"
22
23goto eof
24
25:err_bat
26echo Possible names of samples: WinForms, WPF_D3D, WPF_WinForms
27echo Launch selected sample as follows:
693c4bbe 28echo %~n0.bat [^vc10^|^vc11^|^vc12^|^vc14^] [^win32^|^win64^] [^Release^|^Debug^] [^SampleName^]
f4264b5a 29echo or
30echo %~n0.bat [^SampleName^]
31echo Run %~n0.bat -h to get this help
32exit /B
33
34:err_exe
35echo Executable %~dp0%BIN_DIR%\IE_%SampleName%.exe not found.
36echo Check that OCCT and sample are built with the selected configuration:
37echo compiler=%VCVER% platform=win%ARCH% %3
38exit /B
39
40:eof