0024722: Move functionality of WOK command wgendoc to OCCT tool gendoc
[occt.git] / adm / templates / sample.bat
1 @echo off
2
3 if ["%1"] == [""] (
4   echo Launch selected sample as follows:
5   echo sample.bat SampleName
6   echo available samples:
7   echo    Geometry
8   echo    Modeling
9   echo    Viewer2d
10   echo    Viewer3d
11   echo    ImportExport
12   echo    Ocaf
13   echo    Triangulation
14   echo    HLR
15   echo    Animation
16   echo    Convert
17   exit /B
18 )
19
20 if not exist "%~dp0/bin/%1.exe" (
21   echo Executable %~dp0/bin/%4.exe not found.
22   echo Probably you didn't compile the application.
23   exit /B
24 )
25
26 call "%~dp0/env.bat"
27
28 "%~dp0/bin/%1.exe"