1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

Update for VS installed by default

This commit is contained in:
bugmaster 2011-05-16 13:52:57 +00:00 committed by bugmaster
parent 26d9685bdc
commit 18473fc803
3 changed files with 15 additions and 12 deletions

View File

@ -11,12 +11,14 @@ rem Define path to project file
set PRJFILE=%~dp0IESample.sln
rem Launch Visual Studio - either professional (devenv) or Express, as available
if exist %DevEnvDir%\devenv.exe (
start %DevEnvDir%\devenv.exe %PRJFILE% /useenv
) else if exist %DevEnvDir%\VCExpress.exe (
start %DevEnvDir%\VCExpress.exe %PRJFILE% /useenv
if exist "%DevEnvDir%\devenv.exe" (
start devenv.exe "%PRJFILE%" /useenv
) else if exist "%DevEnvDir%\VCExpress.exe" (
start VCExpress.exe "%PRJFILE%" /useenv
) else (
echo Error: Could not find MS Visual Studio ^(%VCVER%^)
echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
)
)

View File

@ -11,12 +11,13 @@ rem Define path to project file
set PRJFILE=%~dp0Tutorial.sln
rem Launch Visual Studio - either professional (devenv) or Express, as available
if exist %DevEnvDir%\devenv.exe (
start %DevEnvDir%\devenv.exe %PRJFILE% /useenv
) else if exist %DevEnvDir%\VCExpress.exe (
start %DevEnvDir%\VCExpress.exe %PRJFILE% /useenv
if exist "%DevEnvDir%\devenv.exe" (
start devenv.exe "%PRJFILE%" /useenv
) else if exist "%DevEnvDir%\VCExpress.exe" (
start VCExpress.exe "%PRJFILE%" /useenv
) else (
echo Error: Could not find MS Visual Studio ^(%VCVER%^)
echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)
)

View File

@ -19,10 +19,10 @@ rem Define path to project file
set PRJFILE=%~dp0VoxelDemo.sln
rem Launch Visual Studio - either professional (devenv) or Express, as available
if exist %DevEnvDir%\devenv.exe (
start %DevEnvDir%\devenv.exe %PRJFILE% /useenv
) else if exist %DevEnvDir%\VCExpress.exe (
start %DevEnvDir%\VCExpress.exe %PRJFILE% /useenv
if exist "%DevEnvDir%\devenv.exe" (
start devenv.exe "%PRJFILE%" /useenv
) else if exist "%DevEnvDir%\VCExpress.exe" (
start VCExpress.exe "%PRJFILE%" /useenv
) else (
echo Error: Could not find MS Visual Studio ^(%VCVER%^)
echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^)