96d6a2cd72431e0ad2e3e26292809dfb629ba6d0
[occt.git] / samples / CSharp / msvc_D3D.bat
1 @echo off
2
3 call "%~dp0..\..\env.bat" %1 %2 %3
4
5 if NOT DEFINED DXSDK_DIR (
6   if "%VCVER%" == "vc9" (
7     echo ERROR: DirectX SDK is required in order to build the sample but it is not found in your system. Please install DirectX SDK and retry.
8     exit /B
9   )
10   if "%VCVER%" == "vc10" (
11     echo ERROR: DirectX SDK is required in order to build the sample but it is not found in your system. Please install DirectX SDK and retry.
12     exit /B
13   )
14 )
15
16 if ["%CASDEB%"] == [""] (
17   call "%~dp0..\..\msvc.bat" %VCVER% win%ARCH% Release %~dp0\CSharp_D3D.sln
18 ) else (
19   call "%~dp0..\..\msvc.bat" %VCVER% win%ARCH% Debug %~dp0\CSharp_D3D.sln
20 )