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:
parent
26d9685bdc
commit
18473fc803
@ -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^)
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
|
@ -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^)
|
||||
)
|
||||
|
||||
|
||||
|
@ -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^)
|
||||
|
Loading…
x
Reference in New Issue
Block a user