0030682: Configuration, qmake - all warnings are suppressed on macOS target
[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 vc10 win32 d
6   echo or to use last sample build configuration:
7   echo   sample.bat SampleName
8   echo available samples:
9   echo    Geometry
10   echo    Modeling
11   echo    Viewer2d
12   echo    Viewer3d
13   echo    ImportExport
14   echo    Ocaf
15   echo    Triangulation
16   echo    HLR
17   echo    Animation
18   echo    Convert
19   echo    AndroidQt
20   echo    FuncDemo
21   echo    IESample
22   echo    Tutorial
23   PAUSE
24   exit /B
25 )
26
27 call "%~dp0env.bat" %2 %3 %4
28 if not ["%QTDIR%"] == [""] if exist "%QTDIR%\qml" if ["%QML2_IMPORT_PATH%"] == [""] set "QML2_IMPORT_PATH=%QTDIR%/qml"
29 set "EXE_PATH=%CSF_OCCTBinPath%/%1.exe"
30
31 if not exist "%EXE_PATH%" (
32   echo Executable %EXE_PATH% not found.
33   echo Probably you didn't compile the application.
34   PAUSE
35   exit /B
36 )
37
38 "%EXE_PATH%"
39