0023097: MFC Samples do not compile after redesigning the TKOpenGl driver
[occt.git] / samples / CSharp / Run_MSVC.bat
CommitLineData
cf236913 1@echo off
2rem Launch MS VC with environment prepared for building OCCT C# sample
3
4rem Set build environment
5call %~dp0..\..\ros\env_build.bat vc8 win32
6
7rem Define path to project file
8set PRJFILE=%~dp0IE\IE.sln
9
10rem Launch Visual Studio - either professional (devenv) or Express, as available
11if exist %DevEnvDir%\devenv.exe (
12 start %DevEnvDir%\devenv.exe %PRJFILE% /useenv
13) else if exist %DevEnvDir%\VCExpress.exe (
14 start %DevEnvDir%\VCExpress.exe %PRJFILE% /useenv
15) else (
16 echo Error: Could not find MS Visual Studio ^(%VCVER%^)
17 echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
18)
19