mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0023861: Draw can not start if OCCT is installed in a path containing spaces
This commit is contained in:
@@ -5,8 +5,8 @@ REM Use first argument to specify version of Visual Studio (vc8, vc9, or vc10),
|
||||
REM second argument specifies architecture) (win32 or win64)
|
||||
REM third argument specifies Debug or Release mode
|
||||
|
||||
call .\..\..\..\env.bat %1 %2 %3
|
||||
call %~dp0env.bat
|
||||
call "%~dp0..\..\..\env.bat" %1 %2 %3
|
||||
call "%~dp0env.bat"
|
||||
|
||||
if not "%1" == "" (
|
||||
if /I "%1" == "vc8" (
|
||||
@@ -23,7 +23,7 @@ if not "%1" == "" (
|
||||
set "VCVARS=%VS110COMNTOOLS%..\..\VC\vcvarsall.bat"
|
||||
) else (
|
||||
echo Error: first argument ^(%1^) should specify supported version of Visual C++,
|
||||
echo one of: vc8 ^(VS 2005 SP1^), vc9 ^(VS 2008 SP1^), vc10 ^(VS 2010^) or vc10 ^(VS 2012^)
|
||||
echo one of: vc8 ^(VS 2005 SP1^), vc9 ^(VS 2008 SP1^), vc10 ^(VS 2010^) or vc11 ^(VS 2012^)
|
||||
exit
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user