0024355: Compiler Warning level 4 for MFC samples
[occt.git] / samples / CSharp / run_winforms.bat
CommitLineData
d1a2fee8 1@echo off
2
3if "%1" == "-h" (
4 echo Launch WinForms sample as follows:
5 echo %~n0 ^[vc9^] ^[win32^|win64^] ^[Debug^|Release^]
6 echo By default configuration set in ..\..\custom.bat is used
7 echo Run %~n0 -h to get this help
8 exit /B
9)
10
11call "%~dp0..\..\env.bat" %1 %2 %3
12
13set "EXEC=%~dp0\win%ARCH%\bin%CASDEB%\IE_WinForms.exe"
14
15if not exist "%EXEC%" goto err_exe
16
17"%EXEC%"
18
19goto eof
20
21:err_exe
22echo Executable %EXEC% not found.
23echo Check that OCCT and sample are built with the selected configuration:
24echo compiler=%VCVER% platform=win%ARCH% %3
25exit /B
26
27:eof