0023874: Converting OCCT MFC samples to CMake build system.
[occt.git] / adm / templates / sample.bat
CommitLineData
234e52be 1@echo off
2
3if ["%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
20if 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
26call "%~dp0/env.bat"
27
28"%~dp0/bin/%1.exe"