调整编译

This commit is contained in:
13038267101 2023-02-03 10:57:23 +08:00
parent 2a7fcda0a5
commit 00c8df8edf
3 changed files with 6 additions and 14 deletions

View File

@ -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

View File

@ -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 -----------------------------------------------------------------------------------------------------------------------------------

View File

@ -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 -----------------------------------------------------------------------------------------------------------------------------------