调整编译
This commit is contained in:
parent
2a7fcda0a5
commit
00c8df8edf
|
@ -49,11 +49,9 @@ set dev=""
|
||||||
for /f "tokens=1,2,* " %%i in ('reg QUERY "HKEY_CLASSES_ROOT\CLSID\{2E1517DA-87BF-4443-984A-D2BF18F5A908}\LocalServer32" /ve') do set dev=%%k
|
for /f "tokens=1,2,* " %%i in ('reg QUERY "HKEY_CLASSES_ROOT\CLSID\{2E1517DA-87BF-4443-984A-D2BF18F5A908}\LocalServer32" /ve') do set dev=%%k
|
||||||
echo dev=%dev%
|
echo dev=%dev%
|
||||||
|
|
||||||
if %dev% == "" (
|
if %dev% NEQ "" (
|
||||||
echo "Can not find Visual-Studio installing path"
|
call %dev%\..\..\..\vc\auxiliary\build\vcvars64.bat
|
||||||
goto end
|
|
||||||
)
|
)
|
||||||
call %dev%\..\..\..\vc\auxiliary\build\vcvars64.bat
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -70,13 +70,10 @@ set dev=""
|
||||||
for /f "tokens=1,2,* " %%i in ('reg QUERY "HKEY_CLASSES_ROOT\CLSID\{2E1517DA-87BF-4443-984A-D2BF18F5A908}\LocalServer32" /ve') do set dev=%%k
|
for /f "tokens=1,2,* " %%i in ('reg QUERY "HKEY_CLASSES_ROOT\CLSID\{2E1517DA-87BF-4443-984A-D2BF18F5A908}\LocalServer32" /ve') do set dev=%%k
|
||||||
echo dev=%dev%
|
echo dev=%dev%
|
||||||
|
|
||||||
if %dev% == "" (
|
if %dev% NEQ "" (
|
||||||
echo "Can not find Visual-Studio installing path"
|
call %dev%\..\..\..\vc\auxiliary\build\vcvars64.bat
|
||||||
goto end
|
|
||||||
)
|
)
|
||||||
:env
|
:env
|
||||||
call %dev%\..\..\..\vc\auxiliary\build\vcvars64.bat
|
|
||||||
|
|
||||||
|
|
||||||
rem -----------------------------------------------------------------------------------------------------------------------------------
|
rem -----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -82,13 +82,10 @@ set dev=""
|
||||||
for /f "tokens=1,2,* " %%i in ('reg QUERY "HKEY_CLASSES_ROOT\CLSID\{2E1517DA-87BF-4443-984A-D2BF18F5A908}\LocalServer32" /ve') do set dev=%%k
|
for /f "tokens=1,2,* " %%i in ('reg QUERY "HKEY_CLASSES_ROOT\CLSID\{2E1517DA-87BF-4443-984A-D2BF18F5A908}\LocalServer32" /ve') do set dev=%%k
|
||||||
echo dev=%dev%
|
echo dev=%dev%
|
||||||
|
|
||||||
if %dev% == "" (
|
if %dev% NEQ "" (
|
||||||
echo "Can not find Visual-Studio installing path"
|
call %dev%\..\..\..\vc\auxiliary\build\vcvars64.bat
|
||||||
goto end
|
|
||||||
)
|
)
|
||||||
:env
|
:env
|
||||||
call %dev%\..\..\..\vc\auxiliary\build\vcvars64.bat
|
|
||||||
|
|
||||||
|
|
||||||
rem -----------------------------------------------------------------------------------------------------------------------------------
|
rem -----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue